From 82bc110c796a52a8fd656edae924ee64e2d575c8 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 19 Feb 2016 21:37:36 +0100 Subject: [PATCH] Harmonize Pixracer and Pixhawk OSD API --- ROMFS/px4fmu_common/init.d/rcS | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 12b9594d5b..626d43da63 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -497,17 +497,12 @@ then mavlink start $MAVLINK_F unset MAVLINK_F - if ver hwcmp PX4FMU_V4 - then - # Start MAVLink on OSD (TELEM2 port) - mavlink start -r 1200 -d /dev/ttyS2 -b 57600 -m osd - fi - # # MAVLink onboard / TELEM2 # - if ver hwcmp PX4FMU_V2 + if ver hwcmp PX4FMU_V1 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