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:
parent
c97e3ddb3d
commit
5211176f15
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user