From 74ab9cbbf69047c556821e8e92f86793fa83b00d Mon Sep 17 00:00:00 2001 From: vk7js <58905135+vk7js@users.noreply.github.com> Date: Thu, 19 May 2022 14:33:27 +1000 Subject: [PATCH] Fixed voice menu, it will now display as: Voice off, Voice Beep, or Voice 1 through 3. --- openrtx/src/ui/ui.c | 2 +- openrtx/src/ui/ui_menu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openrtx/src/ui/ui.c b/openrtx/src/ui/ui.c index b3ae8699..a2655451 100644 --- a/openrtx/src/ui/ui.c +++ b/openrtx/src/ui/ui.c @@ -162,7 +162,7 @@ const char *settings_gps_items[] = #endif const char * settings_voice_items[] = { - "Voice Level", + "Voice", "Phonetic" }; diff --git a/openrtx/src/ui/ui_menu.c b/openrtx/src/ui/ui_menu.c index 5d9bef01..646f8ce2 100644 --- a/openrtx/src/ui/ui_menu.c +++ b/openrtx/src/ui/ui_menu.c @@ -293,7 +293,7 @@ int _ui_getVoiceValueName(char *buf, uint8_t max_len, uint8_t index) snprintf(buf, max_len, "%s", currentLanguage->beep); break; default: - snprintf(buf, max_len, "%s %d", currentLanguage->level, (value-vpBeep)); + snprintf(buf, max_len, "%d", (value-vpBeep)); break; } break;