From 7359348e2c4daf0aca67ef2bb178193d807a85f0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 25 Jan 2013 20:36:33 +1100 Subject: [PATCH] HAL_PX4: added support for /fs/microsd/APM/nostart prevents APM startup --- libraries/AP_HAL_PX4/scripts/rc.APM | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_HAL_PX4/scripts/rc.APM b/libraries/AP_HAL_PX4/scripts/rc.APM index d7d2063820..dc89929d7a 100644 --- a/libraries/AP_HAL_PX4/scripts/rc.APM +++ b/libraries/AP_HAL_PX4/scripts/rc.APM @@ -2,6 +2,11 @@ # APM startup script for NuttX on PX4 +if [ -f /fs/microsd/APM/nostart ] +then + echo "APM/nostart found - skipping" +else + uorb start # mount binfs so we can find the built-in apps @@ -63,3 +68,4 @@ then else echo "No APM sketch found" fi +fi