AP_Mission: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1

This commit is contained in:
Lucas De Marchi 2015-11-03 11:46:29 -02:00 committed by Andrew Tridgell
parent c7871d1bca
commit 3941bb7347

View File

@ -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