mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
PX4: start nsh on USB if SD card not inserted
useful for debugging
This commit is contained in:
parent
f48acffc52
commit
8efcf05835
@ -82,4 +82,6 @@ then
|
|||||||
echo Running rc.APM
|
echo Running rc.APM
|
||||||
# if APM startup is successful then nsh will exit
|
# if APM startup is successful then nsh will exit
|
||||||
sh /etc/init.d/rc.APM
|
sh /etc/init.d/rc.APM
|
||||||
|
else
|
||||||
|
nshterm /dev/ttyACM0 &
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user