mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AP_Mission: allow for more jump commands on high memory boards
and allow override of maximum in custom hwdef.dat
This commit is contained in:
parent
3642b14a0b
commit
24f40d9049
@ -28,7 +28,13 @@
|
||||
#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
|
||||
|
||||
#ifndef AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS
|
||||
#if HAL_MEM_CLASS >= HAL_MEM_CLASS_500
|
||||
#define AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS 100 // allow up to 100 do-jump commands
|
||||
#else
|
||||
#define AP_MISSION_MAX_NUM_DO_JUMP_COMMANDS 15 // allow up to 15 do-jump commands
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define AP_MISSION_JUMP_REPEAT_FOREVER -1 // when do-jump command's repeat count is -1 this means endless repeat
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user