From d961a067b97d6c4e9ee159a7ad4f79ca69b580b9 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 9 Dec 2021 12:50:56 -0500 Subject: [PATCH] navigator: reduce NUM_MISSIONS_SUPPORTED 2000->500 for dataman RAM usability --- src/modules/navigator/navigation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/navigator/navigation.h b/src/modules/navigator/navigation.h index 5c6251d603..132c3923c3 100644 --- a/src/modules/navigator/navigation.h +++ b/src/modules/navigator/navigation.h @@ -49,7 +49,7 @@ #elif defined(__PX4_POSIX) # define NUM_MISSIONS_SUPPORTED (UINT16_MAX-1) // This is allocated as needed. #else -# define NUM_MISSIONS_SUPPORTED 2000 // This allocates a file of around 181 kB on the SD card. +# define NUM_MISSIONS_SUPPORTED 500 #endif #define NAV_EPSILON_POSITION 0.001f /**< Anything smaller than this is considered zero */