[gruvin9X] WDT reset when changing Tx mode

This commit is contained in:
bsongis
2012-11-19 20:08:01 +00:00
parent 923a03f775
commit 680f838b1d
+2 -2
View File
@@ -1039,7 +1039,7 @@ void clearKeyEvents()
#if defined(SIMU)
while (keyDown() && main_thread_running) sleep(1/*ms*/);
#else
while (keyDown()) WDT_RESET_STOCK(); // loop until all keys are up
while (keyDown()) wdt_reset(); // loop until all keys are up
#endif
memclear(keys, sizeof(keys));
putEvent(0);
@@ -1216,7 +1216,7 @@ void checkTHR()
checkBacklight();
WDT_RESET_STOCK();
wdt_reset();
}
}