nrf52: fix build for PWM without multichan enabled

This commit is contained in:
Matias N
2021-01-16 19:24:32 -03:00
committed by Brennan Ashton
parent efe236ba84
commit c526f01ba7
+1 -1
View File
@@ -586,7 +586,7 @@ static int nrf52_pwm_start(FAR struct pwm_lowerhalf_s *dev,
#else
ret = nrf52_pwm_duty(dev,
(priv->channels[0].channel - 1),
(info->channels[0].channel - 1),
info->duty);
#endif /* CONFIG_PWM_MULTICHAN */