mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 20:47:36 +08:00
Split the parameter load/save commands out of the 'eeprom' command, since that's not really the obvious place for them. Add parameter printing functionality (though, it's a mess due to %f being busted)
Update the script examples to use the new command.
This commit is contained in:
@@ -9,7 +9,7 @@ echo "[init] eeprom"
|
||||
eeprom start
|
||||
if [ -f /eeprom/parameters ]
|
||||
then
|
||||
eeprom load_param /eeprom/parameters
|
||||
param load
|
||||
fi
|
||||
|
||||
echo "[init] sensors"
|
||||
|
||||
@@ -19,7 +19,7 @@ echo "[init] eeprom"
|
||||
eeprom start
|
||||
if [ -f /eeprom/parameters ]
|
||||
then
|
||||
eeprom load_param /eeprom/parameters
|
||||
param load
|
||||
fi
|
||||
|
||||
#
|
||||
|
||||
@@ -10,6 +10,16 @@ echo "[init] doing standalone PX4FMU startup..."
|
||||
#
|
||||
uorb start
|
||||
|
||||
#
|
||||
# Init the EEPROM
|
||||
#
|
||||
echo "[init] eeprom"
|
||||
eeprom start
|
||||
if [ -f /eeprom/parameters ]
|
||||
then
|
||||
param load
|
||||
fi
|
||||
|
||||
#
|
||||
# Start the sensors.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user