mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Fixed up F1 targets.
This commit is contained in:
parent
ccac8c30d6
commit
1846322a98
7 changed files with 71 additions and 75 deletions
|
@ -102,8 +102,9 @@ static pwmOutputPort_t *pwmOutConfig(const timerHardware_t *timerHardware, uint8
|
|||
|
||||
pwmOCConfig(timerHardware->tim, timerHardware->channel, value, timerHardware->outputInverted);
|
||||
|
||||
if (timerHardware->outputEnable)
|
||||
if (timerHardware->outputEnable) {
|
||||
TIM_CtrlPWMOutputs(timerHardware->tim, ENABLE);
|
||||
}
|
||||
TIM_Cmd(timerHardware->tim, ENABLE);
|
||||
|
||||
switch (timerHardware->channel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue