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
|
|
|
|
|
2018-02-02 13:17:25 -04:00
|
|
|
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
|