hooked up warning messages. May need tweaking.

Msg may repeat on keyup.
md1702
vk7js 2022-05-22 19:03:06 +10:00 zatwierdzone przez Silvano Seva
rodzic 1f36e9b9d8
commit 6e4af40346
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -567,6 +567,11 @@ void _ui_drawMenuBackup(ui_state_t* ui_state)
gfx_print(line, FONT_SIZE_8PT, TEXT_ALIGN_CENTER,
color_white, currentLanguage->pressPTTToStart);
// read this screen.
announceBackupScreen();
if (!platform_getPttStatus())
return;
state.devStatus = DATATRANSFER;
state.backup_eflash = true;
}
@ -590,6 +595,10 @@ void _ui_drawMenuRestore(ui_state_t* ui_state)
gfx_print(line, FONT_SIZE_8PT, TEXT_ALIGN_CENTER,
color_white, currentLanguage->pressPTTToStart);
announceRestoreScreen();
if (!platform_getPttStatus())
return;
state.devStatus = DATATRANSFER;
state.restore_eflash = true;
}