Skip to content

Commit

Permalink
Plane: reset landing on mode entry
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Dec 11, 2024
1 parent efcea50 commit cc365dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ArduPlane/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ bool Mode::enter()
// Make sure the flight stage is correct for the new mode
plane.update_flight_stage();

// reset landing state
plane.landing.reset();

#if HAL_QUADPLANE_ENABLED
if (quadplane.enabled()) {
float aspeed;
Expand Down

0 comments on commit cc365dd

Please sign in to comment.