Small fix for Mix delays when the switch is toggled before the delay is expired

Test code for Franck (have a look to open9x.cpp, in the first lines)
This commit is contained in:
bsongis
2012-08-13 07:49:56 +00:00
parent 0f5e855849
commit 8c5dd2b0d9
3 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -1202,7 +1202,7 @@ void menuProcFrsky(uint8_t event)
}
}
if (fields_count == 0) {
// No bars at all!
// No custom fields at all!
putEvent(event == EVT_KEY_BREAK(KEY_UP) ? event : EVT_KEY_BREAK(KEY_DOWN));
}
lcd_status_line();