hooked up warning messages. May need tweaking.

Msg may repeat on keyup.
This commit is contained in:
vk7js 2022-05-22 19:03:06 +10:00 committed by Silvano Seva
parent 1f36e9b9d8
commit 6e4af40346
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}