forked from Archive/PX4-Autopilot
Hotfix: Guard against corrupted param files, still boot the system if they occur
This commit is contained in:
parent
fdc4521949
commit
3a49ec9eb1
|
@ -84,7 +84,12 @@ then
|
|||
param select /fs/microsd/params
|
||||
if [ -f /fs/microsd/params ]
|
||||
then
|
||||
param load /fs/microsd/params
|
||||
if param load /fs/microsd/params
|
||||
then
|
||||
echo "Parameters loaded"
|
||||
else
|
||||
echo "Parameter file corrupt - ignoring"
|
||||
fi
|
||||
fi
|
||||
#fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue