Added voice prompt to warn that during backup/restore no voice prompts will be available.

Note that this is stil not hooked up.
This commit is contained in:
vk7js 2022-05-22 18:42:39 +10:00 committed by Silvano Seva
parent 7cd3f1d49a
commit 1f36e9b9d8
2 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,7 @@ PROMPT_ALTITUDE, // altitude
PROMPT_SATELLITES, // satellites
PROMPT_COMPASS, // compass
PROMPT_DEGREES, // degrees
PROMPT_VP_UNAVAILABLE, // Voice prompts will be unavailable during this operation.
PROMPT_CHARACTER, // character
PROMPT_SPACE, // space
PROMPT_PERCENT, // Percent

View File

@ -571,6 +571,7 @@ void announceBackupScreen()
vpQueueStringTableEntry(&currentLanguage->connectToRTXTool);
vpQueueStringTableEntry(&currentLanguage->toBackupFlashAnd);
vpQueueStringTableEntry(&currentLanguage->pressPTTToStart);
vpQueuePrompt(PROMPT_VP_UNAVAILABLE);
vpPlay();
}
@ -584,6 +585,7 @@ void announceRestoreScreen()
vpQueueStringTableEntry(&currentLanguage->connectToRTXTool);
vpQueueStringTableEntry(&currentLanguage->toRestoreFlashAnd);
vpQueueStringTableEntry(&currentLanguage->pressPTTToStart);
vpQueuePrompt(PROMPT_VP_UNAVAILABLE);
vpPlay();
}