mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
mavlink: cleanup and refactoring, rcS: EXIT_ON_END fix
This commit is contained in:
@@ -118,6 +118,7 @@ then
|
||||
set MKBLCTRL_MODE none
|
||||
set FMU_MODE pwm
|
||||
set MAVLINK_FLAGS default
|
||||
set EXIT_ON_END no
|
||||
set MAV_TYPE none
|
||||
|
||||
#
|
||||
@@ -380,7 +381,6 @@ then
|
||||
#
|
||||
# MAVLink
|
||||
#
|
||||
set EXIT_ON_END no
|
||||
|
||||
if [ $MAVLINK_FLAGS == default ]
|
||||
then
|
||||
@@ -539,6 +539,7 @@ then
|
||||
|
||||
if [ $EXIT_ON_END == yes ]
|
||||
then
|
||||
echo "[init] Exit from nsh"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user