From 6e4af40346d9fdd82ac1bb4bafe068a03d799336 Mon Sep 17 00:00:00 2001 From: vk7js <58905135+vk7js@users.noreply.github.com> Date: Sun, 22 May 2022 19:03:06 +1000 Subject: [PATCH] hooked up warning messages. May need tweaking. Msg may repeat on keyup. --- openrtx/src/ui/ui_menu.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openrtx/src/ui/ui_menu.c b/openrtx/src/ui/ui_menu.c index d4421f85..62b87053 100644 --- a/openrtx/src/ui/ui_menu.c +++ b/openrtx/src/ui/ui_menu.c @@ -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; }