diff options
Diffstat (limited to 'os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c')
-rw-r--r-- | os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c b/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c index 4e013b755..d6a4affd8 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c +++ b/os/hal/ports/STM32/LLD/TIMv1/pwm_lld.c @@ -424,7 +424,7 @@ void pwm_lld_init(void) { */
void pwm_lld_start(PWMDriver *pwmp) {
uint32_t psc;
- uint16_t ccer;
+ uint32_t ccer;
if (pwmp->state == PWM_STOP) {
/* Clock activation and timer reset.*/
|