forked from Archive/PX4-Autopilot
Only attempt to load EEPROM parameters when the file exists
This commit is contained in:
parent
f53f63b06d
commit
b9a5f71476
|
@ -7,7 +7,10 @@ uorb start
|
|||
|
||||
echo "[init] eeprom"
|
||||
eeprom start
|
||||
eeprom load_param /eeprom/parameters
|
||||
if [ -f /eeprom/parameters]
|
||||
then
|
||||
eeprom load_param /eeprom/parameters
|
||||
fi
|
||||
|
||||
echo "[init] sensors"
|
||||
#bma180 start
|
||||
|
|
Loading…
Reference in New Issue