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:
Julian Oes
2022-01-10 23:04:10 -05:00
committed by Daniel Agar
parent 7d09635fb6
commit cb15728536
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -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