mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fixed beeper for NAZE32 >= rev5.
Added timer defines again to fix motor control not working.
This commit is contained in:
parent
adb38caac8
commit
4e01859a75
2 changed files with 1 additions and 2 deletions
|
@ -354,7 +354,7 @@ void init(void)
|
|||
#ifdef NAZE
|
||||
if (hardwareRevision >= NAZE32_REV5) {
|
||||
// naze rev4 and below used opendrain to PNP for buzzer. Rev5 and above use PP to NPN.
|
||||
beeperConfig.isOD = true;
|
||||
beeperConfig.isOD = false;
|
||||
beeperConfig.isInverted = true;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue