Skip to content
Snippets Groups Projects
Commit 9e4d1235 authored by Beat Küng's avatar Beat Küng
Browse files

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.
parent 317c8bf5
No related branches found
No related tags found
No related merge requests found
...@@ -198,16 +198,16 @@ then ...@@ -198,16 +198,16 @@ then
# #
if [ $PWM_AUX_RATE != none ] if [ $PWM_AUX_RATE != none ]
then 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 fi
if [ $PWM_AUX_MIN != none ] if [ $PWM_AUX_MIN != none ]
then 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 fi
if [ $PWM_AUX_MAX != none ] if [ $PWM_AUX_MAX != none ]
then 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
fi fi
...@@ -225,12 +225,12 @@ then ...@@ -225,12 +225,12 @@ then
# #
if [ $PWM_AUX_DISARMED != none -a $PWM_ACHDIS != none ] if [ $PWM_AUX_DISARMED != none -a $PWM_ACHDIS != none ]
then 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 fi
if [ $FAILSAFE_AUX != none ] if [ $FAILSAFE_AUX != none ]
then then
pwm failsafe -e -d ${OUTPUT_AUX_DEV} ${FAILSAFE} pwm failsafe -d ${OUTPUT_AUX_DEV} ${FAILSAFE}
fi fi
fi fi
......
...@@ -210,7 +210,7 @@ pwm_main(int argc, char *argv[]) ...@@ -210,7 +210,7 @@ pwm_main(int argc, char *argv[])
break; break;
case 'e': case 'e':
error_on_warn = false; error_on_warn = true;
break; break;
case 'c': case 'c':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment