Skip to content

Commit

Permalink
remove un-necessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
flynxea authored and LorenzMeier committed Mar 30, 2016
1 parent 3295b29 commit 4aa13d8
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -540,49 +540,6 @@ then
fi
fi

#
# MAVLink onboard / TELEM2
#
if ver hwcmp MINDPX_V2
then
else
# XXX We need a better way for runtime eval of shell variables,
# but this works for now
if param compare SYS_COMPANION 921600
then
mavlink start -d /dev/ttyS2 -b 921600 -m onboard -r 80000 -x
fi
if param compare SYS_COMPANION 57600
then
mavlink start -d /dev/ttyS2 -b 57600 -m onboard -r 5000 -x
fi
if param compare SYS_COMPANION 157600
then
mavlink start -d /dev/ttyS2 -b 57600 -m osd -r 1000
fi
if param compare SYS_COMPANION 257600
then
mavlink start -d /dev/ttyS2 -b 57600 -m magic -r 5000 -x
fi
if param compare SYS_COMPANION 357600
then
mavlink start -d /dev/ttyS2 -b 57600 -r 1000
fi
# Sensors on the PWM interface bank
# clear pins 5 and 6
if param compare SENS_EN_LL40LS 1
then
set AUX_MODE pwm4
fi
if param greater TRIG_MODE 0
then
# Get FMU driver out of the way
set MIXER_AUX none
set AUX_MODE none
camera_trigger start
fi
fi

# Transitional support: Disable safety on all Pixracer boards
if ver hwcmp PX4FMU_V4
then
Expand Down

0 comments on commit 4aa13d8

Please sign in to comment.