From f7ef77371e8d014ffa09e6f5b4c985553eef92ad Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 10 Aug 2015 17:13:20 +0200 Subject: [PATCH] Fix startup order of FLOW sensor --- ROMFS/px4fmu_common/init.d/rc.sensors | 5 ----- ROMFS/px4fmu_common/init.d/rcS | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.sensors b/ROMFS/px4fmu_common/init.d/rc.sensors index e5d527dd71..718a5e8212 100644 --- a/ROMFS/px4fmu_common/init.d/rc.sensors +++ b/ROMFS/px4fmu_common/init.d/rc.sensors @@ -110,11 +110,6 @@ else fi fi -# Check for flow sensor -if px4flow start & -then -fi - if ll40ls start then fi diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index dfa270b048..1c9fd9445b 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -708,6 +708,11 @@ fi # Boot is complete, inform MAVLink app(s) that the system is now fully up and running mavlink boot_complete +# Check for flow sensor - as it is a background task, launch it last +if px4flow start & +then +fi + if [ $EXIT_ON_END == yes ] then echo "Exit from nsh"