forked from mirror/uv-k5-firmware
Fixed compiler warning.
This commit is contained in:
parent
1f113ccd7e
commit
2b510bdc1f
6
audio.c
6
audio.c
@ -308,10 +308,10 @@ void AUDIO_PlayQueuedVoice(void)
|
||||
}
|
||||
}
|
||||
gVoiceReadIndex++;
|
||||
if (gVoiceReadIndex == gVoiceWriteIndex) {
|
||||
Delay += 3;
|
||||
}
|
||||
if (!Skip) {
|
||||
if (gVoiceReadIndex == gVoiceWriteIndex) {
|
||||
Delay += 3;
|
||||
}
|
||||
AUDIO_PlayVoice(VoiceID);
|
||||
gCountdownToPlayNextVoice = Delay;
|
||||
gFlagPlayQueuedVoice = false;
|
||||
|
@ -124,7 +124,7 @@ void FUNCTION_Select(uint8_t Function)
|
||||
BK4819_DisableVox();
|
||||
BK4819_Sleep();
|
||||
BK4819_ToggleGpioOut(BK4819_GPIO6_PIN2, false);
|
||||
gSystickFlag6 = 0;
|
||||
gBatterySaveCountdownExpired = false;
|
||||
g_2000036F = 1;
|
||||
GUI_SelectNextDisplay(DISPLAY_MAIN);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user