Renamed OUTPUT_MODE: can --> uavcan_esc

This commit is contained in:
Pavel Kirienko 2014-07-07 02:31:05 +04:00
parent 324322cb29
commit dae9b48462
3 changed files with 4 additions and 4 deletions

View File

@ -24,4 +24,4 @@ then
param set MC_YAWRATE_D 0.0
fi
set OUTPUT_MODE can
set OUTPUT_MODE uavcan_esc

View File

@ -25,7 +25,7 @@ then
set OUTPUT_DEV /dev/pwm_output
fi
if [ $OUTPUT_MODE == can ]
if [ $OUTPUT_MODE == uavcan_esc ]
then
set OUTPUT_DEV /dev/uavcan/esc
fi

View File

@ -292,7 +292,7 @@ then
# If OUTPUT_MODE == none then something is wrong with setup and we shouldn't try to enable output
if [ $OUTPUT_MODE != none ]
then
if [ $OUTPUT_MODE == can ]
if [ $OUTPUT_MODE == uavcan_esc ]
then
if uavcan start 1
then
@ -302,7 +302,7 @@ then
fi
fi
if [ $OUTPUT_MODE == io -o $OUTPUT_MODE == can ]
if [ $OUTPUT_MODE == io -o $OUTPUT_MODE == uavcan_esc ]
then
echo "[init] Use PX4IO PWM as primary output"
if px4io start