diff --git a/ArduPlane/mode.cpp b/ArduPlane/mode.cpp index ff124dc6ba3dd1..06c1a6ba9f4410 100644 --- a/ArduPlane/mode.cpp +++ b/ArduPlane/mode.cpp @@ -132,6 +132,10 @@ bool Mode::enter() GCS_SEND_TEXT(MAV_SEVERITY_INFO, "In landing sequence: mission reset"); plane.mission.reset(); } + + // Invalidate the nav controller's state so that any new mode that doesn't use it isn't using it's stale status data + // flag the NAV_L1 controller as stale AFTER _enter() so that when a mode starts it can know if we're in a loiter already or not. + plane.nav_controller->set_data_is_stale(); } return enter_result;