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
|
@ -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…
Reference in New Issue