mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00: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"
|
||||
eeprom start
|
||||
eeprom load_param /eeprom/parameters
|
||||
if [ -f /eeprom/parameters]
|
||||
then
|
||||
eeprom load_param /eeprom/parameters
|
||||
fi
|
||||
|
||||
echo "[init] sensors"
|
||||
#bma180 start
|
||||
|
||||
Reference in New Issue
Block a user