mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 20:28:37 +08:00
Tidy up an OUTPUT_DEV set/unset in rc.interace and rcS.
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
set MIXER_AUX_FILE none
|
set MIXER_AUX_FILE none
|
||||||
set OUTPUT_AUX_DEV /dev/pwm_output1
|
set OUTPUT_AUX_DEV /dev/pwm_output1
|
||||||
|
set OUTPUT_DEV none
|
||||||
|
|
||||||
#
|
#
|
||||||
# If mount (gimbal) control is enabled and output mode is AUX, set the aux
|
# If mount (gimbal) control is enabled and output mode is AUX, set the aux
|
||||||
@@ -391,3 +392,4 @@ fi
|
|||||||
|
|
||||||
unset MIXER_AUX_FILE
|
unset MIXER_AUX_FILE
|
||||||
unset OUTPUT_AUX_DEV
|
unset OUTPUT_AUX_DEV
|
||||||
|
unset OUTPUT_DEV
|
||||||
|
|||||||
@@ -591,7 +591,6 @@ unset MIXER_AUX
|
|||||||
unset MIXER_FILE
|
unset MIXER_FILE
|
||||||
unset MK_MODE
|
unset MK_MODE
|
||||||
unset MKBLCTRL_ARG
|
unset MKBLCTRL_ARG
|
||||||
unset OUTPUT_DEV
|
|
||||||
unset OUTPUT_MODE
|
unset OUTPUT_MODE
|
||||||
unset PARAM_FILE
|
unset PARAM_FILE
|
||||||
unset PWM_AUX_DISARMED
|
unset PWM_AUX_DISARMED
|
||||||
|
|||||||
Reference in New Issue
Block a user