1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +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 2c003d8b0b
commit aaaf23e64c

View File

@ -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;