PWM: transition PWM_{MIN,MAX,DISARMED,RATE} -> PWM_MAIN

This commit is contained in:
Daniel Agar
2021-02-01 08:53:33 +01:00
committed by Lorenz Meier
parent 8b8adbf48e
commit d1a3590aac
71 changed files with 170 additions and 162 deletions
+2 -2
View File
@@ -254,9 +254,9 @@ then
if [ $PWM_OUT != none ]
then
# Set PWM output frequency.
if [ $PWM_RATE != none ]
if [ $PWM_MAIN_RATE != none ]
then
pwm rate -c ${PWM_OUT} -r ${PWM_RATE}
pwm rate -c ${PWM_OUT} -r ${PWM_MAIN_RATE}
fi
fi
fi