mirror of https://github.com/ArduPilot/ardupilot
Plane: use reset_fence_floor_enable()
This commit is contained in:
parent
d5c6f3fe06
commit
ee7742ac40
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue