mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
arch/arm/src/stm32/stm32_pwm.c: Fix a compilation error introduced in recent PR. Found in build testing.
This commit is contained in:
parent
3abe871a80
commit
1fcd70fdb9
1 changed files with 3 additions and 1 deletions
|
|
@ -3468,7 +3468,7 @@ static int pwm_duty_channels_update(FAR struct pwm_lowerhalf_s *dev,
|
|||
#endif
|
||||
{
|
||||
#ifdef CONFIG_PWM_MULTICHAN
|
||||
duty = info->channels[i].duty;
|
||||
duty = info->channels[i].duty;
|
||||
channel = info->channels[i].channel;
|
||||
|
||||
/* A value of zero means to skip this channel */
|
||||
|
|
@ -3505,7 +3505,9 @@ static int pwm_duty_channels_update(FAR struct pwm_lowerhalf_s *dev,
|
|||
{
|
||||
goto errout;
|
||||
}
|
||||
#ifdef CONFIG_PWM_MULTICHAN
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
errout:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue