0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 15:08:37 +03:00

Fix channel save problem

This commit is contained in:
OneOfEleven
2023-09-28 22:22:06 +01:00
parent 618d6962ff
commit f0ad919418
12 changed files with 23 additions and 29 deletions

View File

@ -301,7 +301,7 @@ void AUDIO_PlayBeep(BEEP_Type_t Beep)
void AUDIO_SetVoiceID(uint8_t Index, VOICE_ID_t VoiceID)
{
if (Index >= 8)
if (Index >= ARRAY_SIZE(gVoiceID))
return;
if (Index == 0)