mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 02:23:34 +08:00
Fix startup order of FLOW sensor
This commit is contained in:
@@ -110,11 +110,6 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for flow sensor
|
|
||||||
if px4flow start &
|
|
||||||
then
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ll40ls start
|
if ll40ls start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -708,6 +708,11 @@ fi
|
|||||||
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
|
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
|
||||||
mavlink boot_complete
|
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 ]
|
if [ $EXIT_ON_END == yes ]
|
||||||
then
|
then
|
||||||
echo "Exit from nsh"
|
echo "Exit from nsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user