ardupilot/mk/VRBRAIN/ROMFS/init.d/rc.error

22 lines
262 B
Plaintext
Raw Normal View History

2018-02-02 13:10:12 -04:00
echo "Error in startup"
tone_alarm MNCC
if [ $HAVE_RGBLED == 1 ]
then
rgbled rgb 16 0 0
fi
if [ $NSH_ERROR_UART1 != none ]
then
nshterm $NSH_ERROR_UART1 &
sleep 1
fi
if [ $NSH_ERROR_UART2 != none ]
then
nshterm $NSH_ERROR_UART2 &
sleep 1
fi
2018-02-02 13:10:12 -04:00
exit