mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
Only attempt to load EEPROM parameters when the file exists
This commit is contained in:
@@ -7,7 +7,10 @@ uorb start
|
|||||||
|
|
||||||
echo "[init] eeprom"
|
echo "[init] eeprom"
|
||||||
eeprom start
|
eeprom start
|
||||||
|
if [ -f /eeprom/parameters]
|
||||||
|
then
|
||||||
eeprom load_param /eeprom/parameters
|
eeprom load_param /eeprom/parameters
|
||||||
|
fi
|
||||||
|
|
||||||
echo "[init] sensors"
|
echo "[init] sensors"
|
||||||
#bma180 start
|
#bma180 start
|
||||||
|
|||||||
Reference in New Issue
Block a user