diff --git a/openrtx/src/core/voicePromptUtils.c b/openrtx/src/core/voicePromptUtils.c index 263ca66a..5ae1c0aa 100644 --- a/openrtx/src/core/voicePromptUtils.c +++ b/openrtx/src/core/voicePromptUtils.c @@ -507,12 +507,16 @@ void announceGPSInfo(VoicePromptQueueFlags_T flags) vpQueuePrompt(PROMPT_SPEED); snprintf(buffer, 16, "%4.1fkm/h", state.gps_data.speed); vpQueueString(buffer, vpAnnounceCommonSymbols); + vpQueuePrompt(PROMPT_ALTITUDE); snprintf(buffer, 16, "%4.1fm", state.gps_data.altitude); vpQueueString(buffer, vpAnnounceCommonSymbols); + vpQueuePrompt(PROMPT_COMPASS); - vpQueueInteger(state.gps_data.tmg_true); + snprintf(buffer, 16, "%3.1f", state.gps_data.tmg_true); + vpQueueString(buffer, vpAnnounceCommonSymbols); vpQueuePrompt(PROMPT_DEGREES); + vpQueuePrompt(PROMPT_SATELLITES); vpQueueInteger(__builtin_popcount(state.gps_data.active_sats)); diff --git a/openrtx/src/ui/UIStrings.c b/openrtx/src/ui/UIStrings.c index e91a5fb9..c78fbbca 100644 --- a/openrtx/src/ui/UIStrings.c +++ b/openrtx/src/ui/UIStrings.c @@ -20,6 +20,7 @@ /* This string table's order must not be altered as voice prompts will be indexed in the same order as these strings. */ +#include #include "ui/UIStrings.h" #include "ui/EnglishStrings.h" #include