Plane: use reset_fence_floor_enable()

This commit is contained in:
Andy Piper 2024-05-31 08:21:07 +01:00 committed by Peter Barker
parent d5c6f3fe06
commit ee7742ac40
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ void ModeAuto::_exit()
}
#endif
if (restart) {
#if AP_FENCE_ENABLED
// no longer landing to re-enable the possiblity of the fence floor
plane.fence.reset_fence_floor_enable();
#endif
plane.landing.restart_landing_sequence();
}
}