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:
parent
229291d22d
commit
53cefb9d14
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue