aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-28 11:59:30 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-28 11:59:30 +0100
commitdd31c51963448d511a44ba1260032e50bda35027 (patch)
tree3230de20d46e3bf88bffd2022e5f707a684de0f7
parent27b2701340648e2fde1992b175abfa591e0eee01 (diff)
downloadpx4-firmware-dd31c51963448d511a44ba1260032e50bda35027.tar.gz
px4-firmware-dd31c51963448d511a44ba1260032e50bda35027.tar.bz2
px4-firmware-dd31c51963448d511a44ba1260032e50bda35027.zip
Do not wipe out params with SYS_AUTOCONFIG=1nowipeout
Because of the wipe people using qgc to switch their model will loose all parameters including RC and sensor calibration. The SYS_AUTOCONFIG param should just make the system configure the relevant parameters for the new airframe. People who want to wipe the params can use the nsh command.
-rw-r--r--ROMFS/px4fmu_common/init.d/rcS2
1 files changed, 0 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS
index 4d337171a..b82b5bb0a 100644
--- a/ROMFS/px4fmu_common/init.d/rcS
+++ b/ROMFS/px4fmu_common/init.d/rcS
@@ -122,8 +122,6 @@ then
#
if param compare SYS_AUTOCONFIG 1
then
- # Wipe out params
- param reset_nostart
set AUTOCNF yes
else
set AUTOCNF no