mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
20 lines
245 B
Plaintext
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
|