ardupilot/mk/PX4/ROMFS/init.d/rc.error
Andrew Tridgell d3e6cc7141 PX4: don't use tone_alarm in init
and removed use of binfs
2018-07-30 14:02:12 +10:00

20 lines
245 B
Plaintext

echo "Error in startup"
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
exit