diff --git a/openrtx/include/core/voicePromptUtils.h b/openrtx/include/core/voicePromptUtils.h index 849cc5b4..9aea4704 100644 --- a/openrtx/include/core/voicePromptUtils.h +++ b/openrtx/include/core/voicePromptUtils.h @@ -69,6 +69,8 @@ void announceM17Info(channel_t* channel, VoicePromptQueueFlags_T flags); void announceGPSInfo(); #endif // GPS_PRESENT void announceAboutScreen(); +void announceBackupScreen(); +void announceRestoreScreen(); VoicePromptQueueFlags_T GetQueueFlagsForVoiceLevel(); diff --git a/openrtx/src/core/voicePromptUtils.c b/openrtx/src/core/voicePromptUtils.c index bc0c7d28..d36c7ab7 100644 --- a/openrtx/src/core/voicePromptUtils.c +++ b/openrtx/src/core/voicePromptUtils.c @@ -546,6 +546,7 @@ void announceGPSInfo() vpPlay(); } #endif // GPS_PRESENT + void announceAboutScreen() { vpInit(); @@ -561,6 +562,32 @@ void announceAboutScreen() vpPlay(); } +void announceBackupScreen() +{ + vpInit(); + + vpQueueStringTableEntry(¤tLanguage->flashBackup); + + vpQueueStringTableEntry(¤tLanguage->connectToRTXTool); + vpQueueStringTableEntry(¤tLanguage->toBackupFlashAnd); + vpQueueStringTableEntry(¤tLanguage->pressPTTToStart); + + vpPlay(); +} + +void announceRestoreScreen() +{ + vpInit(); + + vpQueueStringTableEntry(¤tLanguage->flashRestore); + + vpQueueStringTableEntry(¤tLanguage->connectToRTXTool); + vpQueueStringTableEntry(¤tLanguage->toRestoreFlashAnd); + vpQueueStringTableEntry(¤tLanguage->pressPTTToStart); + + vpPlay(); +} + /* there are 5 levels of verbosity: