diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-13 15:57:38 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-13 15:57:38 +0100 |
commit | 24fd099e58029dd275d2f30fc65bb9209bb26983 (patch) | |
tree | f313a197ed1b7f26537a535dbe21194df05e52d2 /ROMFS/px4fmu_common/init.d | |
parent | e1c12bf67cbe8a628fd5319541d7df9f318f5942 (diff) | |
download | px4-firmware-24fd099e58029dd275d2f30fc65bb9209bb26983.tar.gz px4-firmware-24fd099e58029dd275d2f30fc65bb9209bb26983.tar.bz2 px4-firmware-24fd099e58029dd275d2f30fc65bb9209bb26983.zip |
ROMFS: Better commenting, save some more RAM
Diffstat (limited to 'ROMFS/px4fmu_common/init.d')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 7532d3811..94c462439 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -1,6 +1,9 @@ #!nsh # # PX4FMU startup script. +# +# NOTE: COMMENT LINES ARE REMOVED BEFORE STORED IN ROMFS. +# # # Default to auto-start mode. @@ -480,7 +483,7 @@ then set MAV_TYPE 1 fi - #param set MAV_TYPE $MAV_TYPE + param set MAV_TYPE $MAV_TYPE # Load mixer and configure outputs sh /etc/init.d/rc.interface @@ -580,6 +583,11 @@ then echo "Exit from nsh" exit fi + unset EXIT_ON_END # End of autostart fi + +# There is no further processing, so we can free some RAM +# XXX potentially unset all script variables. +unset TUNE_ERR |