mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 13:03:33 +08:00
Add suport for Memory Constrained systems
This commit is contained in:
committed by
Lorenz Meier
parent
979381fcfa
commit
44b5b52bcb
@@ -45,7 +45,11 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define NUM_MISSIONS_SUPPORTED 256
|
||||
#if defined(MEMORY_CONSTRAINED_SYSTEM)
|
||||
# define NUM_MISSIONS_SUPPORTED 50
|
||||
#else
|
||||
# define NUM_MISSIONS_SUPPORTED 256
|
||||
#endif
|
||||
|
||||
#define NAV_EPSILON_POSITION 0.001f /**< Anything smaller than this is considered zero */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user