mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 10:41:36 +08:00
Mark boot complete in all conditions, not just if autostart has been configured already.
This commit is contained in:
@@ -702,19 +702,19 @@ then
|
|||||||
tone_alarm error
|
tone_alarm error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
|
|
||||||
mavlink boot_complete
|
|
||||||
|
|
||||||
if [ $EXIT_ON_END == yes ]
|
|
||||||
then
|
|
||||||
echo "Exit from nsh"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
unset EXIT_ON_END
|
|
||||||
|
|
||||||
# End of autostart
|
# End of autostart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
|
||||||
|
mavlink boot_complete
|
||||||
|
|
||||||
|
if [ $EXIT_ON_END == yes ]
|
||||||
|
then
|
||||||
|
echo "Exit from nsh"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
unset EXIT_ON_END
|
||||||
|
|
||||||
# There is no further processing, so we can free some RAM
|
# There is no further processing, so we can free some RAM
|
||||||
# XXX potentially unset all script variables.
|
# XXX potentially unset all script variables.
|
||||||
unset TUNE_ERR
|
unset TUNE_ERR
|
||||||
|
|||||||
Reference in New Issue
Block a user