mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Remove some timer reload events; these seem to break PWM output on IO.
This commit is contained in:
parent
b85d74336d
commit
feee1ccc65
@ -169,9 +169,6 @@ pwm_channel_init(unsigned channel)
|
||||
rCCER(timer) |= GTIM_CCER_CC4E;
|
||||
break;
|
||||
}
|
||||
|
||||
/* generate an update event; reloads the counter and all registers */
|
||||
rEGR(timer) = GTIM_EGR_UG;
|
||||
}
|
||||
|
||||
int
|
||||
@ -212,9 +209,6 @@ up_pwm_servo_set(unsigned channel, servo_position_t value)
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* generate an update event; reloads the counter and all registers */
|
||||
rEGR(timer) = GTIM_EGR_UG;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user