mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
Fix small typo error. (#91)
This commit is contained in:
committed by
Abdelatif Guettouche
parent
cf5d17f795
commit
bd0fe25418
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user