Added announceBackupScreen() and announceRestoreScreen()

This commit is contained in:
vk7js 2022-05-20 21:34:34 +10:00 committed by Silvano Seva
parent b1c07e3d3f
commit 29bde26f4f
2 changed files with 29 additions and 0 deletions

View File

@ -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();

View File

@ -546,6 +546,7 @@ void announceGPSInfo()
vpPlay();
}
#endif // GPS_PRESENT
void announceAboutScreen()
{
vpInit();
@ -561,6 +562,32 @@ void announceAboutScreen()
vpPlay();
}
void announceBackupScreen()
{
vpInit();
vpQueueStringTableEntry(&currentLanguage->flashBackup);
vpQueueStringTableEntry(&currentLanguage->connectToRTXTool);
vpQueueStringTableEntry(&currentLanguage->toBackupFlashAnd);
vpQueueStringTableEntry(&currentLanguage->pressPTTToStart);
vpPlay();
}
void announceRestoreScreen()
{
vpInit();
vpQueueStringTableEntry(&currentLanguage->flashRestore);
vpQueueStringTableEntry(&currentLanguage->connectToRTXTool);
vpQueueStringTableEntry(&currentLanguage->toRestoreFlashAnd);
vpQueueStringTableEntry(&currentLanguage->pressPTTToStart);
vpPlay();
}
/*
there are 5 levels of verbosity: