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

Fixed failure to disable beeping on FC init. Also, fixed spelling.

This commit is contained in:
mikeller 2016-05-25 23:52:40 +12:00
parent c8945c179a
commit 94d9df4cc1
6 changed files with 11 additions and 11 deletions

View file

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