kopia lustrzana https://github.com/OpenRTX/OpenRTX
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
rodzic
a081964ac8
commit
a71a06c57a
|
@ -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()
|
||||
|
|
Ładowanie…
Reference in New Issue