From 3941bb7347881cc1c78a938f3807312b856e8d25 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 3 Nov 2015 11:46:29 -0200 Subject: [PATCH] AP_Mission: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1 --- libraries/AP_Mission/AP_Mission.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_Mission/AP_Mission.h b/libraries/AP_Mission/AP_Mission.h index 21c4cb95b3..8741e832b2 100644 --- a/libraries/AP_Mission/AP_Mission.h +++ b/libraries/AP_Mission/AP_Mission.h @@ -28,11 +28,7 @@ #define AP_MISSION_EEPROM_VERSION 0x65AE // version number stored in first four bytes of eeprom. increment this by one when eeprom format is changed #define AP_MISSION_EEPROM_COMMAND_SIZE 15 // size in bytes of all mission commands -#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 - # define AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS 3 // allow up to 3 do-jump commands (due to RAM limitations) on the APM2 -#else - # define AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS 15 // allow up to 15 do-jump commands all high speed CPUs -#endif +#define AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS 15 // allow up to 15 do-jump commands #define AP_MISSION_JUMP_REPEAT_FOREVER -1 // when do-jump command's repeat count is -1 this means endless repeat