ardupilot/mk/PX4/ROMFS/init.d/rc.error
Andrew Tridgell d3088b230a PX4: use RGBLED state to show startup state
solid white while booting, solid red on error
2014-02-04 21:43:47 +11:00

15 lines
167 B
Plaintext

echo "Error in startup"
tone_alarm MNCC
if [ $HAVE_RGBLED == 1 ]
then
rgbled rgb 16 0 0
fi
nshterm /dev/ttyACM0 &
sleep 1
nshterm /dev/ttyS0 &
sleep 1
exit