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"