forked from Archive/PX4-Autopilot
ROMFS: rcS dump parameter backup contents before using
- this is mainly for debug comparion
This commit is contained in:
parent
38af93085b
commit
14c2225b1c
|
@ -179,6 +179,11 @@ else
|
||||||
# try importing from backup file
|
# try importing from backup file
|
||||||
if [ -f "/fs/microsd/parameters_backup.bson" ]
|
if [ -f "/fs/microsd/parameters_backup.bson" ]
|
||||||
then
|
then
|
||||||
|
echo "[init] importing from parameter backup"
|
||||||
|
|
||||||
|
# dump current backup file contents for comparison
|
||||||
|
param dump /fs/microsd/parameters_backup.bson
|
||||||
|
|
||||||
param import /fs/microsd/parameters_backup.bson
|
param import /fs/microsd/parameters_backup.bson
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue