Coper: compile error fix when FENCE disabled
This commit is contained in:
parent
227185fd0f
commit
9361e9fe32
@ -151,9 +151,11 @@ static void failsafe_gps_check()
|
||||
set_mode(LAND);
|
||||
|
||||
// land if circular fence is enabled
|
||||
#if AC_FENCE == ENABLED
|
||||
if((fence.get_enabled_fences() & AC_FENCE_TYPE_CIRCLE) != 0) {
|
||||
set_mode(LAND);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// failsafe_gps_off_event - actions to take when GPS contact is restored
|
||||
|
Loading…
Reference in New Issue
Block a user