1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-20 06:45:08 +03:00

Navigation

This commit is contained in:
Andre Bernet 2014-04-09 12:14:02 +02:00
parent 6a3a245ed8
commit 498272bfd2

View file

@ -397,7 +397,7 @@ int menuFlashFile(uint32_t index, uint8_t event)
lcd_putsLeft(4*FH, "\011No firmware found in the file!");
else
lcd_putsLeft(4*FH, "\011No EEPROM found in the file!");
if (event == EVT_KEY_FIRST(BOOT_KEY_EXIT) || event == EVT_KEY_FIRST(BOOT_KEY_MENU)) {
if (event == EVT_KEY_BREAK(BOOT_KEY_EXIT) || event == EVT_KEY_BREAK(BOOT_KEY_MENU)) {
return 0;
}
return -1;