mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:43:34 +08:00
PWM: transition PWM_{MIN,MAX,DISARMED,RATE} -> PWM_MAIN
This commit is contained in:
committed by
Lorenz Meier
parent
8b8adbf48e
commit
d1a3590aac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user