From 680f838b1d27c0092cc65ed8d949827a9626a4c5 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 19 Nov 2012 20:08:01 +0000 Subject: [PATCH] [gruvin9X] WDT reset when changing Tx mode --- src/open9x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index d177dc02e..a53421ed7 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -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(); } }