Ensured startup of USB link, updated port ids to read from

This commit is contained in:
Lorenz Meier
2012-08-10 16:18:45 +02:00
parent 67e0f8b179
commit 4eef4e1864
2 changed files with 5 additions and 7 deletions
+4 -6
View File
@@ -18,7 +18,6 @@
# can change this to prevent automatic startup of the flight script.
#
set MODE autostart
set USB_ALLOWED yes
set USB no
#
@@ -47,12 +46,11 @@ fi
#
# Check for USB host
#
if [ $USB_ALLOWED == yes ]
if sercon
then
if sercon
then
echo "[init] USB interface connected"
fi
echo "[init] USB interface connected"
else
echo "[init] No USB connected"
fi
#