kopia lustrzana https://github.com/OpenRTX/OpenRTX
When PTT is pressed, stop any voice prompt or beep in process.
rodzic
f9228ec23c
commit
793a76d1ea
|
@ -568,6 +568,11 @@ void vp_play()
|
|||
|
||||
void vp_tick()
|
||||
{
|
||||
if (platform_getPttStatus() && (voicePromptActive || (currentBeepDuration > 0)))
|
||||
{
|
||||
vp_stop();
|
||||
return;
|
||||
}
|
||||
if (beep_tick())
|
||||
return;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue