From 7a78ece9203793830b263e0b06c1797b9f8b47af Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Fri, 26 Aug 2022 09:41:23 +0200 Subject: [PATCH] Fixed announcement of ctcss tones, now the decimal point gets announced. --- openrtx/src/core/voicePromptUtils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openrtx/src/core/voicePromptUtils.c b/openrtx/src/core/voicePromptUtils.c index e70fbecf..40010089 100644 --- a/openrtx/src/core/voicePromptUtils.c +++ b/openrtx/src/core/voicePromptUtils.c @@ -354,7 +354,7 @@ void vp_announceCTCSS(const bool rxToneEnabled, const uint8_t rxTone, vp_queuePrompt(PROMPT_TONE); snprintf(buffer, 16, "%3.1f", ctcss_tone[rxTone] / 10.0f); - vp_queueString(buffer, vpDefault); + vp_queueString(buffer, vpAnnounceCommonSymbols); vp_queuePrompt(PROMPT_HERTZ); playIfNeeded(flags); @@ -368,7 +368,7 @@ void vp_announceCTCSS(const bool rxToneEnabled, const uint8_t rxTone, vp_queuePrompt(PROMPT_TONE); snprintf(buffer, 16, "%3.1f", ctcss_tone[rxTone] / 10.0f); - vp_queueString(buffer, vpDefault); + vp_queueString(buffer, vpAnnounceCommonSymbols); vp_queuePrompt(PROMPT_HERTZ); } if (txToneEnabled) @@ -377,7 +377,7 @@ void vp_announceCTCSS(const bool rxToneEnabled, const uint8_t rxTone, vp_queuePrompt(PROMPT_TONE); snprintf(buffer, 16, "%3.1f", ctcss_tone[txTone] / 10.0f); - vp_queueString(buffer, vpDefault); + vp_queueString(buffer, vpAnnounceCommonSymbols); vp_queuePrompt(PROMPT_HERTZ); }