mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: added support for /fs/microsd/APM/nostart
prevents APM startup
This commit is contained in:
parent
8f2f4b1bc5
commit
7359348e2c
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
# APM startup script for NuttX on PX4
|
# APM startup script for NuttX on PX4
|
||||||
|
|
||||||
|
if [ -f /fs/microsd/APM/nostart ]
|
||||||
|
then
|
||||||
|
echo "APM/nostart found - skipping"
|
||||||
|
else
|
||||||
|
|
||||||
uorb start
|
uorb start
|
||||||
|
|
||||||
# mount binfs so we can find the built-in apps
|
# mount binfs so we can find the built-in apps
|
||||||
|
@ -63,3 +68,4 @@ then
|
||||||
else
|
else
|
||||||
echo "No APM sketch found"
|
echo "No APM sketch found"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue