mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Revert "PWM driver - startup value fix"
This reverts commit 4514aad824
.
This commit is contained in:
parent
81ce757459
commit
3ffef998c8
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ 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