mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
parent
2dc09cd24b
commit
3272b44410
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ void initInverter(void)
|
|||
gpio_config_t cfg;
|
||||
} gpio_setup = {
|
||||
.gpio = INVERTER_GPIO,
|
||||
.cfg = { INVERTER_PIN, Mode_Out_OD, Speed_2MHz }
|
||||
// configure for Push-Pull
|
||||
.cfg = { INVERTER_PIN, Mode_Out_PP, Speed_2MHz }
|
||||
};
|
||||
|
||||
RCC_APB2PeriphClockCmd(INVERTER_PERIPHERAL, ENABLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue