1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Fixed beeper on BJF4 rev3

This commit is contained in:
blckmn 2016-07-31 15:39:26 +10:00
parent 229291d22d
commit 53cefb9d14
2 changed files with 8 additions and 1 deletions

View file

@ -362,6 +362,12 @@ void init(void)
beeperConfig.isInverted = true;
}
#endif
/* temp until PGs are implemented. */
#ifdef BLUEJAYF4
if (hardwareRevision <= BJF4_REV2) {
beeperConfig.ioTag = IO_TAG(BEEPER_OPT);
}
#endif
#ifdef CC3D
if (masterConfig.use_buzzer_p6 == 1)
beeperConfig.ioTag = IO_TAG(BEEPER_OPT);