From 9076a3a6c082481b892afad5f31e11ae45d7a523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 7 Feb 2019 00:27:43 +0100 Subject: [PATCH] Blink the right test LED at the same 100ms interval as the left test LED. --- right/src/i2c_watchdog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/right/src/i2c_watchdog.c b/right/src/i2c_watchdog.c index fd33a93..174d437 100644 --- a/right/src/i2c_watchdog.c +++ b/right/src/i2c_watchdog.c @@ -6,6 +6,7 @@ #include "i2c.h" #include "i2c_watchdog.h" #include "init_peripherals.h" +#include "peripherals/test_led.h" uint32_t I2cWatchdog_WatchCounter; uint32_t I2cWatchdog_RecoveryCounter; @@ -26,6 +27,7 @@ void PIT_I2C_WATCHDOG_HANDLER(void) prevWatchdogCounter = I2C_Watchdog; PIT_ClearStatusFlags(PIT, PIT_I2C_WATCHDOG_CHANNEL, PIT_TFLG_TIF_MASK); + TestLed_Toggle(); } void InitI2cWatchdog(void)