From 7313d8d87ee638d4484e559844c930cdf764e80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 29 Sep 2017 00:58:52 +0200 Subject: [PATCH] Fix the grammar of watchdog interrupt related comment and don't include specific timeout as it may change later. --- right/src/i2c_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/right/src/i2c_watchdog.c b/right/src/i2c_watchdog.c index 4d6876b..429e623 100644 --- a/right/src/i2c_watchdog.c +++ b/right/src/i2c_watchdog.c @@ -16,7 +16,7 @@ static uint32_t prevWatchdogCounter; void PIT_I2C_WATCHDOG_HANDLER(void) { I2cWatchdog_OuterCounter++; - if (I2C_Watchdog == prevWatchdogCounter) { // Restart I2C if there hasn't be any interrupt during 100 ms + if (I2C_Watchdog == prevWatchdogCounter) { // Restart I2C if there haven't been any interrupts recently I2cWatchdog_InnerCounter++; i2c_master_config_t masterConfig; I2C_MasterGetDefaultConfig(&masterConfig);