Speeded up IO startup, needs review

This commit is contained in:
Lorenz Meier
2013-08-30 15:40:28 +02:00
parent 3a00def189
commit 61936412f3
2 changed files with 6 additions and 2 deletions

View File

@@ -110,8 +110,12 @@ then
#
# Upgrade PX4IO firmware
#
if px4io update
if px4io detect
then
echo "PX4IO running, not upgrading"
else
echo "Attempting to upgrade PX4IO"
px4io update
if [ -d /fs/microsd ]
then
echo "Flashed PX4IO Firmware OK" > /fs/microsd/px4io.log