mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
bacafb77cf
for boards without a microSD or USB card
17 lines
265 B
Plaintext
17 lines
265 B
Plaintext
#!nsh
|
|
set USB autoconnect
|
|
set NSH_ERROR_UART1 /dev/ttyACM0
|
|
set NSH_ERROR_UART2 /dev/ttyS0
|
|
|
|
tone_alarm /etc/tones/startup
|
|
|
|
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
|