1
0
Fork 0
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:
Michael Keller 2016-06-16 09:47:04 +12:00 committed by mikeller
parent adb38caac8
commit 4e01859a75
2 changed files with 1 additions and 2 deletions

View file

@ -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