diff --git a/libraries/AP_Limits/AP_Limit_Geofence.h b/libraries/AP_Limits/AP_Limit_Geofence.h index 08007528cd..8dd92ad301 100644 --- a/libraries/AP_Limits/AP_Limit_Geofence.h +++ b/libraries/AP_Limits/AP_Limit_Geofence.h @@ -20,8 +20,7 @@ #include #endif - -#define MAX_FENCEPOINTS 20 +#define MAX_FENCEPOINTS 6 // Fence points reduced from 20 to 6 to save memory class AP_Limit_Geofence : public AP_Limit_Module {