kopia lustrzana https://github.com/OpenRTX/OpenRTX
Got beeps working so long as you don't have ctcss set.
Reduced durations to sensible values.md1702
rodzic
3c20a5282e
commit
a1e302b19d
|
@ -914,8 +914,8 @@ void vp_playMenuBeepIfNeeded(bool firstItem)
|
|||
if (state.settings.vpLevel < vpBeep)
|
||||
return;
|
||||
if (firstItem)
|
||||
vp_beep(500, 250);
|
||||
vp_beep(500, 5);
|
||||
else
|
||||
vp_beep(1000, 250);
|
||||
vp_beep(1000, 5);
|
||||
}
|
||||
|
||||
|
|
|
@ -279,13 +279,13 @@ static void ReleaseFunctionLatchIfNeeded()
|
|||
return;
|
||||
|
||||
functionLatchTimer = 0;
|
||||
vp_beep(200, 500);
|
||||
vp_beep(400, 10);
|
||||
}
|
||||
|
||||
static void SetFunctionLatchTimer()
|
||||
{
|
||||
functionLatchTimer= getTick() + FUNCTION_LATCH_TIMEOUT;
|
||||
vp_beep(800, 500);
|
||||
vp_beep(800, 10);
|
||||
}
|
||||
|
||||
static bool FunctionKeyIsLatched()
|
||||
|
|
|
@ -184,7 +184,7 @@ void platform_ledOff(led_t led)
|
|||
|
||||
void platform_beepStart(uint16_t freq)
|
||||
{
|
||||
toneGen_beepOn((float)freq, 255, 0);
|
||||
toneGen_beepOn((float)freq, 128, 0);
|
||||
}
|
||||
|
||||
void platform_beepStop()
|
||||
|
|
Ładowanie…
Reference in New Issue