diff --git a/src/open9x.cpp b/src/open9x.cpp index 431cd51c8..72a6343d4 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -769,7 +769,7 @@ void clearKeyEvents() #ifdef SIMU while (keyDown() && main_thread_running) sleep(1/*ms*/); #else - while (keyDown()); // loop until all keys are up + while (keyDown()) wdt_reset(); // loop until all keys are up #endif memset(keys, 0, sizeof(keys)); putEvent(0);