Got beeps working so long as you don't have ctcss set.

Reduced durations to sensible values.
md1702
vk7js 2022-09-09 20:35:57 +10:00 zatwierdzone przez Silvano Seva
rodzic 3c20a5282e
commit a1e302b19d
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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);
}

Wyświetl plik

@ -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()

Wyświetl plik

@ -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()