Skip to content
Snippets Groups Projects
Commit 265eb3c0 authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter Fence: bug fix to avoid repeatedly invoking LAND mode

parent c381222a
No related branches found
No related merge requests found
...@@ -44,7 +44,7 @@ void fence_check() ...@@ -44,7 +44,7 @@ void fence_check()
} }
}else{ }else{
// if more than 100m outside the fence just force a land // if more than 100m outside the fence just force a land
if(control_mode != RTL) { if(control_mode != LAND) {
set_mode(LAND); set_mode(LAND);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment