Only attempt to load EEPROM parameters when the file exists

This commit is contained in:
px4dev 2012-09-03 02:45:09 -07:00
parent f53f63b06d
commit b9a5f71476
1 changed files with 4 additions and 1 deletions

View File

@ -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