From d857427444d8e8ffedd18add3075f370a36be41d Mon Sep 17 00:00:00 2001 From: Randy Mackay <rmackay9@yahoo.com> Date: Wed, 30 Apr 2014 21:26:29 +0900 Subject: [PATCH] Copter: disable RALLY points by default This saves 2k of flash which allows the code to fix on the APM1/2 --- ArduCopter/APM_Config.h | 2 +- ArduCopter/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/APM_Config.h b/ArduCopter/APM_Config.h index 170bd18ee..d992245d0 100644 --- a/ArduCopter/APM_Config.h +++ b/ArduCopter/APM_Config.h @@ -26,13 +26,13 @@ //#define MOUNT DISABLED // disable the camera gimbal to save 8K of flash space //#define AUTOTUNE_ENABLED DISABLED // disable the auto tune functionality to save 7k of flash //#define AC_FENCE DISABLED // disable fence to save 2k of flash -//#define AC_RALLY DISABLED // disable rally points to save 2k of flash, and also frees rally point EEPROM for more mission commands //#define CAMERA DISABLED // disable camera trigger to save 1k of flash //#define CONFIG_SONAR DISABLED // disable sonar to save 1k of flash //#define HYBRID_ENABLED DISABLED // disable hybrid flight mode to save 4.5k of flash // features below are disabled by default //#define OPTFLOW ENABLED // enable optical flow sensor and OF_LOITER flight mode at a cost of 5K of flash space +//#define AC_RALLY ENABLED // disable rally points to save 2k of flash, and also frees rally point EEPROM for more mission commands //#define SPRAYER ENABLED // enable the crop sprayer feature (two ESC controlled pumps the speed of which depends upon the vehicle's horizontal velocity) //#define EPM_ENABLED ENABLED // enable epm cargo gripper costs 500bytes of flash //#define PARACHUTE ENABLED // enable parachute release at a cost of 1k of flash diff --git a/ArduCopter/config.h b/ArduCopter/config.h index 849925d80..43e449cbd 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -753,7 +753,7 @@ #endif #ifndef AC_RALLY - #define AC_RALLY ENABLED + #define AC_RALLY DISABLED #endif ////////////////////////////////////////////////////////////////////////////// -- GitLab