Fix small typo error. (#91)
This commit is contained in:
parent
cf5d17f795
commit
bd0fe25418
1 changed files with 1 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue