Fixed voice menu, it will now display as: Voice off, Voice Beep, or Voice 1 through 3.
This commit is contained in:
parent
206e827aeb
commit
74ab9cbbf6
|
|
@ -162,7 +162,7 @@ const char *settings_gps_items[] =
|
||||||
#endif
|
#endif
|
||||||
const char * settings_voice_items[] =
|
const char * settings_voice_items[] =
|
||||||
{
|
{
|
||||||
"Voice Level",
|
"Voice",
|
||||||
"Phonetic"
|
"Phonetic"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -293,7 +293,7 @@ int _ui_getVoiceValueName(char *buf, uint8_t max_len, uint8_t index)
|
||||||
snprintf(buf, max_len, "%s", currentLanguage->beep);
|
snprintf(buf, max_len, "%s", currentLanguage->beep);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf(buf, max_len, "%s %d", currentLanguage->level, (value-vpBeep));
|
snprintf(buf, max_len, "%d", (value-vpBeep));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue