From bff3417d29648dca919c7270de6070b3ccd709cd Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Mon, 22 Oct 2012 16:34:25 +0900 Subject: [PATCH] AP_Limit_Geofence: reduce maximum number of fence points to 6 from 20 to save memory --- libraries/AP_Limits/AP_Limit_Geofence.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {