1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

add BEEPER_SYSTEM_INIT condition

This commit is contained in:
Pierre-A 2016-03-02 10:07:01 +01:00 committed by borisbstyle
parent 6b1e3fc2c4
commit 5b2e79525c
3 changed files with 5 additions and 3 deletions

View file

@ -477,7 +477,7 @@ void init(void)
LED1_TOGGLE;
LED0_TOGGLE;
delay(25);
BEEP_ON;
if (!(getPreferedBeeperOffMask() & (1 << (BEEPER_SYSTEM_INIT - 1)))) BEEP_ON;
delay(25);
BEEP_OFF;
}