1. Renamed beepTick to beep_tick for consistency.

2. Made beep_tick static.
3. call beep_tick from top of vp_tick because in its prior location it might
not actually be called.
md1702
vk7js 2022-09-06 23:08:24 +10:00 zatwierdzone przez Silvano Seva
rodzic a081964ac8
commit a71a06c57a
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -461,7 +461,7 @@ void vp_play()
audio_enableAmp();
}
void BeepTick()
static void beep_tick()
{
if (currentBeepDuration > 0)
{
@ -473,6 +473,8 @@ void BeepTick()
void vp_tick()
{
beep_tick();
if (voicePromptActive == false)
return;
@ -517,7 +519,6 @@ void vp_tick()
vpCurrentSequence.c2DataIndex = 0;
vpCurrentSequence.c2DataLength = 0;
}
BeepTick();
}
bool vp_isPlaying()