mavlink: cleanup and refactoring, rcS: EXIT_ON_END fix

This commit is contained in:
Anton Babushkin
2014-03-01 18:30:30 +04:00
parent c10ef78753
commit 256cc2b411
3 changed files with 179 additions and 217 deletions
+2 -1
View File
@@ -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