diff --git a/src/platform/common/stm32/pwm_output_beeper.c b/src/platform/common/stm32/pwm_output_beeper.c index ae19da1387..5d308ad6d4 100644 --- a/src/platform/common/stm32/pwm_output_beeper.c +++ b/src/platform/common/stm32/pwm_output_beeper.c @@ -32,7 +32,7 @@ static uint16_t freqBeep = 0; void pwmWriteBeeper(bool on) { - if (!beeperPwm.io) { + if (!beeperPwm.io || freqBeep == 0) { return; }