1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-20 14:55:09 +03:00
This commit is contained in:
bsongis 2014-04-02 18:59:09 +02:00
parent fae5686258
commit 1d5a33b981

View file

@ -727,7 +727,7 @@ int main()
if (event == EVT_KEY_FIRST(BOOT_KEY_DOWN) || event == EVT_KEY_FIRST(BOOT_KEY_UP)) {
vpos = (vpos+1) & 0x01;
}
else if (event == EVT_KEY_FIRST(BOOT_KEY_MENU)) {
else if (event == EVT_KEY_BREAK(BOOT_KEY_MENU)) {
if (vpos == 0)
state = ST_FLASH_MENU;
else
@ -840,12 +840,12 @@ int main()
}
}
#endif
else if (event == EVT_KEY_FIRST(BOOT_KEY_MENU)) {
else if (event == EVT_KEY_BREAK(BOOT_KEY_MENU)) {
// Select file to flash
state = ST_FLASH_CHECK;
Valid = 0;
}
else if (event == EVT_KEY_FIRST(BOOT_KEY_EXIT)) {
else if (event == EVT_KEY_BREAK(BOOT_KEY_EXIT)) {
state = ST_START;
vpos = 0;
}