From 0df878d2d5dd0a4632a8c6f5399d053dee49fe59 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 27 Aug 2014 09:49:19 +0200 Subject: [PATCH] Start flow driver, start MAVLink instance with right arguments --- ROMFS/px4fmu_common/init.d/rc.sensors | 5 +++++ ROMFS/px4fmu_common/init.d/rcS | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index ecb408a543..739df7ac0b 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -68,6 +68,11 @@ else fi fi +# Check for flow sensor +if px4flow start +then +fi + # # Start the sensor collection task. # IMPORTANT: this also loads param offsets diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 6aa542a295..fa5e8bf7c3 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -450,7 +450,7 @@ then # if ver hwcmp PX4FMU_V2 then - mavlink start -d /dev/ttyS2 -b 230400 + mavlink start -d /dev/ttyS2 -b 230400 -m onboard fi # UAVCAN