mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 09:03:34 +08:00
Mantis: save mission in RAM
This is using a reduced number of mission items of 1000 instead of 2000 in order to fit in RAM.
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
# define NUM_MISSIONS_SUPPORTED 50
|
||||
#elif defined(__PX4_POSIX)
|
||||
# define NUM_MISSIONS_SUPPORTED (UINT16_MAX-1) // This is allocated as needed.
|
||||
#elif defined(RAM_BASED_MISSIONS)
|
||||
# define NUM_MISSIONS_SUPPORTED 500
|
||||
#else
|
||||
# define NUM_MISSIONS_SUPPORTED 500
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user