From d1eff16ad7522cea1553a3ddaf0a50aeb1792e7c Mon Sep 17 00:00:00 2001 From: Silvan Date: Fri, 24 Jan 2025 13:52:11 +0100 Subject: [PATCH] Navigator: remove define for RAM_BASED_MISSIONS Since we have SYS_DM_BACKEND, the user has to option on all boards to store the mission on the RAM, thus thus define got obsolete. Signed-off-by: Silvan --- boards/atl/mantis-edu/src/board_config.h | 1 - src/modules/navigator/navigation.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/boards/atl/mantis-edu/src/board_config.h b/boards/atl/mantis-edu/src/board_config.h index f589a6b728..b8c1709a93 100644 --- a/boards/atl/mantis-edu/src/board_config.h +++ b/boards/atl/mantis-edu/src/board_config.h @@ -59,7 +59,6 @@ #define BOARD_ARMED_STATE_LED LED_BLUE #define FLASH_BASED_PARAMS -#define RAM_BASED_MISSIONS // Hacks for MAVLink RC button input #define ATL_MANTIS_RC_INPUT_HACKS diff --git a/src/modules/navigator/navigation.h b/src/modules/navigator/navigation.h index 520430c014..f3db822a8f 100644 --- a/src/modules/navigator/navigation.h +++ b/src/modules/navigator/navigation.h @@ -50,8 +50,6 @@ # 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