pwm command: fix -e param (it was just ignored)

to keep the behavior the same, remove the -e flags from all pwm commands
that use it in the scripts.
This commit is contained in:
Beat Küng
2017-04-27 17:55:54 +02:00
parent 317c8bf557
commit 9e4d1235ac
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -198,16 +198,16 @@ then
#
if [ $PWM_AUX_RATE != none ]
then
pwm rate -e -c ${PWM_AUX_OUT} -r ${PWM_AUX_RATE} -d ${OUTPUT_AUX_DEV}
pwm rate -c ${PWM_AUX_OUT} -r ${PWM_AUX_RATE} -d ${OUTPUT_AUX_DEV}
fi
if [ $PWM_AUX_MIN != none ]
then
pwm min -e -c ${PWM_AUX_OUT} -p ${PWM_AUX_MIN} -d ${OUTPUT_AUX_DEV}
pwm min -c ${PWM_AUX_OUT} -p ${PWM_AUX_MIN} -d ${OUTPUT_AUX_DEV}
fi
if [ $PWM_AUX_MAX != none ]
then
pwm max -e -c ${PWM_AUX_OUT} -p ${PWM_AUX_MAX} -d ${OUTPUT_AUX_DEV}
pwm max -c ${PWM_AUX_OUT} -p ${PWM_AUX_MAX} -d ${OUTPUT_AUX_DEV}
fi
fi
@@ -225,12 +225,12 @@ then
#
if [ $PWM_AUX_DISARMED != none -a $PWM_ACHDIS != none ]
then
pwm disarmed -e -c ${PWM_ACHDIS} -p ${PWM_AUX_DISARMED} -d ${OUTPUT_AUX_DEV}
pwm disarmed -c ${PWM_ACHDIS} -p ${PWM_AUX_DISARMED} -d ${OUTPUT_AUX_DEV}
fi
if [ $FAILSAFE_AUX != none ]
then
pwm failsafe -e -d ${OUTPUT_AUX_DEV} ${FAILSAFE}
pwm failsafe -d ${OUTPUT_AUX_DEV} ${FAILSAFE}
fi
fi
+1 -1
View File
@@ -210,7 +210,7 @@ pwm_main(int argc, char *argv[])
break;
case 'e':
error_on_warn = false;
error_on_warn = true;
break;
case 'c':