ardupilot/mk/PX4/ROMFS/init.d/rcS_no_microSD
2018-08-06 11:33:40 +10:00

15 lines
234 B
Plaintext

#!nsh
set USB autoconnect
set NSH_ERROR_UART1 /dev/ttyACM0
set NSH_ERROR_UART2 /dev/ttyS0
if sercon
then
echo "[init] USB interface connected"
else
echo "[init] No USB connected"
fi
echo Running rc.APM
sh /etc/init.d/rc.APM