summaryrefslogtreecommitdiff
path: root/demos/bsp/boards/printf_retarget.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/bsp/boards/printf_retarget.c')
-rw-r--r--demos/bsp/boards/printf_retarget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/bsp/boards/printf_retarget.c b/demos/bsp/boards/printf_retarget.c
index f940836fd..6dfc711a2 100644
--- a/demos/bsp/boards/printf_retarget.c
+++ b/demos/bsp/boards/printf_retarget.c
@@ -38,7 +38,7 @@
#include "board.h"
-#if CFG_PRINTF_TARGET != PRINTF_TARGET_DEBUG_CONSOLE
+#if CFG_PRINTF_TARGET != PRINTF_TARGET_SEMIHOST
#if CFG_PRINTF_TARGET == PRINTF_TARGET_UART
#define retarget_getchar() board_uart_getchar()
@@ -146,4 +146,4 @@ void _ttywrch(int ch)
#endif
-#endif // CFG_PRINTF_TARGET != PRINTF_TARGET_DEBUG_CONSOLE
+#endif // CFG_PRINTF_TARGET != PRINTF_TARGET_SEMIHOST