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

*** IO Driver updates ***

LED driver update
Buzzer driver update
Inverter driver update
Spektrum bind driver update
This commit is contained in:
Michael Jakob 2016-06-01 20:26:39 +02:00 committed by blckmn
parent 9e30e69cee
commit 7db5445bf7
35 changed files with 305 additions and 724 deletions

View file

@ -353,14 +353,12 @@ void init(void)
#ifdef BEEPER
beeperConfig_t beeperConfig = {
.gpioPeripheral = BEEP_PERIPHERAL,
.gpioPin = BEEP_PIN,
.gpioPort = BEEP_GPIO,
.ioTag = IO_TAG(BEEPER),
#ifdef BEEPER_INVERTED
.gpioMode = Mode_Out_PP,
.isOD = false,
.isInverted = true
#else
.gpioMode = Mode_Out_OD,
.isOD = true,
.isInverted = false
#endif
};