mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 21:59:07 +08:00
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…
x
Reference in New Issue
Block a user