1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-28 17:54:15 +01:00

ManualControl: Cover the case for PathPlanner to avoid setting an alarm. No functional change.

This commit is contained in:
James Cotton 2012-09-10 20:12:23 -05:00
parent c97e3ddb3d
commit 5211176f15

View File

@ -431,6 +431,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;