Skip to content

Commit b26a4a9

Browse files
committed
zephyr: align uart device name
Zephyr changed way of generation UART device name label which implies device name label text change. Patch aligns the code to above change. Signed-off-by: Andrzej Puzdrowski <[email protected]>
1 parent 0cd178d commit b26a4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/serial_adapter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static int
191191
boot_uart_fifo_init(void)
192192
{
193193
#ifdef CONFIG_BOOT_SERIAL_UART
194-
uart_dev = device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME);
194+
uart_dev = device_get_binding(DT_UART_CONSOLE_ON_DEV_NAME);
195195
#elif CONFIG_BOOT_SERIAL_CDC_ACM
196196
uart_dev = device_get_binding(CONFIG_CDC_ACM_PORT_NAME_0);
197197
#endif

0 commit comments

Comments
 (0)