0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

fix mdc side beeps

This commit is contained in:
OneOfEleven
2023-11-06 00:47:22 +00:00
parent 32394cc558
commit b8e7d11bfc
8 changed files with 30 additions and 42 deletions

View File

@ -1562,7 +1562,7 @@ void APP_process_flash_light_10ms(void)
GPIO_SetBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
#ifdef ENABLE_FLASH_LIGHT_SOS_TONE
if (!g_squelch_open && !g_monitor_enabled && !GPIO_CheckBit(&GPIOC->DATA, GPIOC_PIN_SPEAKER))
BK4819_StartTone1(880, 50, g_current_function == FUNCTION_TRANSMIT);
BK4819_StartTone1(880, 50, g_current_function == FUNCTION_TRANSMIT, true);
#endif
}
}