hooked up warning messages. May need tweaking.
Msg may repeat on keyup.
This commit is contained in:
parent
1f36e9b9d8
commit
6e4af40346
|
|
@ -567,6 +567,11 @@ void _ui_drawMenuBackup(ui_state_t* ui_state)
|
||||||
gfx_print(line, FONT_SIZE_8PT, TEXT_ALIGN_CENTER,
|
gfx_print(line, FONT_SIZE_8PT, TEXT_ALIGN_CENTER,
|
||||||
color_white, currentLanguage->pressPTTToStart);
|
color_white, currentLanguage->pressPTTToStart);
|
||||||
|
|
||||||
|
// read this screen.
|
||||||
|
announceBackupScreen();
|
||||||
|
if (!platform_getPttStatus())
|
||||||
|
return;
|
||||||
|
|
||||||
state.devStatus = DATATRANSFER;
|
state.devStatus = DATATRANSFER;
|
||||||
state.backup_eflash = true;
|
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,
|
gfx_print(line, FONT_SIZE_8PT, TEXT_ALIGN_CENTER,
|
||||||
color_white, currentLanguage->pressPTTToStart);
|
color_white, currentLanguage->pressPTTToStart);
|
||||||
|
|
||||||
|
announceRestoreScreen();
|
||||||
|
if (!platform_getPttStatus())
|
||||||
|
return;
|
||||||
|
|
||||||
state.devStatus = DATATRANSFER;
|
state.devStatus = DATATRANSFER;
|
||||||
state.restore_eflash = true;
|
state.restore_eflash = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue