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 <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-11-30 16:59:51 +08:00 committed by Xiang Xiao
parent 3d57055057
commit 09c17fcfa8
1 changed files with 1 additions and 1 deletions

View File

@ -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