mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:28:53 +08:00
Speeded up IO startup, needs review
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user