mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
PX4: do not start px4 firmware rgbled driver
This commit is contained in:
parent
0ce8cf3cf4
commit
82b1b41a61
@ -20,20 +20,6 @@
|
||||
set MODE autostart
|
||||
set USB autoconnect
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
|
||||
|
||||
if rgbled start
|
||||
then
|
||||
set HAVE_RGBLED 1
|
||||
# show startup white
|
||||
rgbled rgb 16 16 16
|
||||
else
|
||||
set HAVE_RGBLED 0
|
||||
fi
|
||||
|
||||
#
|
||||
# Try to mount the microSD card.
|
||||
#
|
||||
@ -69,18 +55,10 @@ else
|
||||
else
|
||||
echo "mount failed"
|
||||
tone_alarm MNBG
|
||||
if [ $HAVE_RGBLED == 1 ]
|
||||
then
|
||||
rgbled rgb 16 0 0
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "format failed"
|
||||
tone_alarm MNBGG
|
||||
if [ $HAVE_RGBLED == 1 ]
|
||||
then
|
||||
rgbled rgb 16 0 0
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user