mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
Merge pull request #3540 from iNavFlight/marbalon_pwm_startup_fix
PWM driver - startup value fix
This commit is contained in:
commit
5535b49f50
1 changed files with 0 additions and 2 deletions
|
@ -76,8 +76,6 @@ static void pwmOutConfigTimer(pwmOutputPort_t * p, const timerHardware_t *timerH
|
|||
p->ccr = timerCCR(timerHardware->tim, timerHardware->channel);
|
||||
p->period = period;
|
||||
p->tim = timerHardware->tim;
|
||||
|
||||
*p->ccr = 0;
|
||||
}
|
||||
|
||||
static pwmOutputPort_t *pwmOutConfigMotor(const timerHardware_t *timerHardware, uint8_t mhz, uint16_t period, uint16_t value, bool enableOutput)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue