Move UART mapping comments back to top level rcS script. Deprecate PWM_ACHDIS and replace with PWM_AUX_OUT and set PWM_AUX_DIS value directly in vtol airframe config files. Replace tone_alarm instances with tune_control and default tune enums, and relocate an OUTPUT_MODE == fmu logic block in rcS.

This commit is contained in:
mcsauder
2018-07-24 18:44:55 +02:00
committed by Beat Küng
parent 4818e3abe0
commit ee3e34cd06
12 changed files with 113 additions and 123 deletions
-17
View File
@@ -166,23 +166,6 @@ then
fi
fi
#
# Set disarmed values for aux out.
# Transitional support until all configs are updated.
#
if [ $PWM_ACHDIS == none ]
then
set PWM_ACHDIS ${PWM_AUX_OUT}
fi
#
# Set disarmed, min and max PWM_AUX values.
#
if [ $PWM_AUX_DISARMED != none -a $PWM_ACHDIS != none ]
then
pwm disarmed -c ${PWM_ACHDIS} -p ${PWM_AUX_DISARMED} -d ${OUTPUT_AUX_DEV}
fi
#
# Per channel disarmed settings.
#