mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +03:00
Afromini Target Beeper override for rev5
This commit is contained in:
parent
9ec26626b7
commit
0a2444fe39
1 changed files with 4 additions and 0 deletions
|
@ -290,6 +290,10 @@ void init(void)
|
|||
#endif
|
||||
};
|
||||
#ifdef NAZE
|
||||
#ifdef AFROMINI
|
||||
beeperConfig.gpioMode = Mode_Out_PP; // AFROMINI override
|
||||
beeperConfig.isInverted = true;
|
||||
#endif
|
||||
if (hardwareRevision >= NAZE32_REV5) {
|
||||
// naze rev4 and below used opendrain to PNP for buzzer. Rev5 and above use PP to NPN.
|
||||
beeperConfig.gpioMode = Mode_Out_PP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue