Hotfix for IO-less systems

This commit is contained in:
Lorenz Meier
2013-08-31 11:56:39 +02:00
parent 3f4315b476
commit ccc5bef3af
+5 -1
View File
@@ -115,7 +115,8 @@ then
echo "PX4IO running, not upgrading" echo "PX4IO running, not upgrading"
else else
echo "Attempting to upgrade PX4IO" echo "Attempting to upgrade PX4IO"
px4io update if px4io update
then
if [ -d /fs/microsd ] if [ -d /fs/microsd ]
then then
echo "Flashed PX4IO Firmware OK" > /fs/microsd/px4io.log echo "Flashed PX4IO Firmware OK" > /fs/microsd/px4io.log
@@ -123,6 +124,9 @@ then
# Allow IO to safely kick back to app # Allow IO to safely kick back to app
usleep 200000 usleep 200000
else
echo "No PX4IO to upgrade here"
fi
fi fi
# #