Fix small typo error. (#91)

This commit is contained in:
Daniel P. Carvalho 2020-01-13 14:39:56 -03:00 committed by Abdelatif Guettouche
parent cf5d17f795
commit bd0fe25418

View file

@ -1104,7 +1104,7 @@ static struct stm32_pwmtimer_s g_pwm5dev =
.deadtime = 0, /* No deadtime */
#endif
#if defined(HAVE_TRGO) && defined(STM32_TIM5_TRGO)
.trgo = STM32_TIM5_TRGO
.trgo = STM32_TIM5_TRGO,
#endif
#ifdef CONFIG_PWM_PULSECOUNT
.irq = STM32_IRQ_TIM5,
@ -3227,8 +3227,6 @@ static int pwm_pulsecount_configure(FAR struct pwm_lowerhalf_s *dev)
uint8_t j = 0;
int ret = OK;
UNUSED(priv);
/* NOTE: leave timer counter disabled and all outputs disabled! */
/* Disable the timer until we get it configured */