Merge pull request #1901 from opentx/projectkk2glider/issue_1017_key_stuck

Fixes #1017: Startup key stuck display
This commit is contained in:
Bertrand Songis
2014-12-09 19:04:44 +01:00
16 changed files with 71 additions and 6 deletions
+1
View File
@@ -353,6 +353,7 @@ extern uint8_t main_thread_running;
#define getADC_bandgap()
#define SIMU_SLEEP(x) do { if (!main_thread_running) return; sleep(x/*ms*/); } while (0)
#define SIMU_SLEEP_NORET(x) do { sleep(x/*ms*/); } while (0)
void simuSetKey(uint8_t key, bool state);
void simuSetTrim(uint8_t trim, bool state);