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

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