Skip to content

Commit c3313c1

Browse files
jfischer-nocfriedt
authored andcommitted
bluetooth: monitor: remove CONFIG_UART_CONSOLE_ON_DEV_NAME
Replace with DT_LABEL(DT_CHOSEN(zephyr_console)). Signed-off-by: Johann Fischer <[email protected]>
1 parent e78b078 commit c3313c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ extern void __stdout_hook_install(int (*fn)(int));
234234
#endif /* !CONFIG_UART_CONSOLE */
235235

236236
#if defined(CONFIG_HAS_DTS) && !defined(CONFIG_BT_MONITOR_ON_DEV_NAME)
237-
#define CONFIG_BT_MONITOR_ON_DEV_NAME CONFIG_UART_CONSOLE_ON_DEV_NAME
237+
#define CONFIG_BT_MONITOR_ON_DEV_NAME DT_LABEL(DT_CHOSEN(zephyr_console))
238238
#endif
239239

240240
#ifndef CONFIG_LOG_MINIMAL

0 commit comments

Comments
 (0)