From aaaf23e64c3def57d829d2690a756ad8a7cf03f9 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Mon, 10 Sep 2012 20:12:23 -0500 Subject: [PATCH] ManualControl: Cover the case for PathPlanner to avoid setting an alarm. No functional change. --- flight/Modules/ManualControl/manualcontrol.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flight/Modules/ManualControl/manualcontrol.c b/flight/Modules/ManualControl/manualcontrol.c index 2416621f7..be773a08b 100644 --- a/flight/Modules/ManualControl/manualcontrol.c +++ b/flight/Modules/ManualControl/manualcontrol.c @@ -427,6 +427,9 @@ static void manualControlTask(void *parameters) case FLIGHTSTATUS_FLIGHTMODE_POSITIONHOLD: updatePathDesired(&cmd, lastFlightMode != flightStatus.FlightMode); break; + case FLIGHTSTATUS_FLIGHTMODE_PATHPLANNER: + // Nothing to do + break; case FLIGHTSTATUS_FLIGHTMODE_RTH: setRTH(lastFlightMode != flightStatus.FlightMode); break;