From 09c17fcfa8bf24d71c5a28758a81427572f74eb1 Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 30 Nov 2023 16:59:51 +0800 Subject: [PATCH] segger/rtt: correct macro name to avoid unable to change default mode SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL should be CONFIG_SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL Signed-off-by: chao an --- drivers/segger/config/SEGGER_RTT_Conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/segger/config/SEGGER_RTT_Conf.h b/drivers/segger/config/SEGGER_RTT_Conf.h index 9f6d7d3399..aab7e24c22 100644 --- a/drivers/segger/config/SEGGER_RTT_Conf.h +++ b/drivers/segger/config/SEGGER_RTT_Conf.h @@ -65,7 +65,7 @@ #if defined(CONFIG_SEGGER_RTT_MODE_NO_BLOCK_TRIM) # define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_TRIM -#elif defined(SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL) +#elif defined(CONFIG_SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL) # define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL #else # define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP