Implemented beeps on MD-UV3x0 platform driver.

This commit is contained in:
vk7js 2022-09-09 10:56:12 +10:00 committed by Silvano Seva
parent 32fd910e64
commit 0298aa897b
2 changed files with 3 additions and 3 deletions

View File

@ -545,6 +545,7 @@ void vp_beep(uint16_t freq, uint16_t duration)
duration=2000;
currentBeepDuration=duration;
audio_enableAmp();
platform_beepStart(freq);
// See BeepTick for termination.

View File

@ -184,13 +184,12 @@ void platform_ledOff(led_t led)
void platform_beepStart(uint16_t freq)
{
/* TODO */
(void) freq;
toneGen_beepOn((float)freq, 255, 0);
}
void platform_beepStop()
{
/* TODO */
toneGen_beepOff();
}
const void *platform_getCalibrationData()