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:
parent
2c003d8b0b
commit
aaaf23e64c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user