Fixed voice menu, it will now display as: Voice off, Voice Beep, or Voice 1 through 3.

md1702
vk7js 2022-05-19 14:33:27 +10:00 zatwierdzone przez Silvano Seva
rodzic 206e827aeb
commit 74ab9cbbf6
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -162,7 +162,7 @@ const char *settings_gps_items[] =
#endif
const char * settings_voice_items[] =
{
"Voice Level",
"Voice",
"Phonetic"
};

Wyświetl plik

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