Skip to content

Commit 4ef858c

Browse files
Qbiczrlubos
authored andcommitted
[nrf toup] boot: zephyr: Update USB CDC ACM device name
Follow the device name changes in Zephyr. Signed-off-by: Filip Kubicz <[email protected]>
1 parent a9bdd66 commit 4ef858c

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
@@ -193,7 +193,7 @@ boot_uart_fifo_init(void)
193193
#ifdef CONFIG_BOOT_SERIAL_UART
194194
uart_dev = device_get_binding(DT_UART_CONSOLE_ON_DEV_NAME);
195195
#elif CONFIG_BOOT_SERIAL_CDC_ACM
196-
uart_dev = device_get_binding(CONFIG_CDC_ACM_PORT_NAME_0);
196+
uart_dev = device_get_binding(CONFIG_USB_CDC_ACM_DEVICE_NAME "_0");
197197
#endif
198198
u8_t c;
199199

0 commit comments

Comments
 (0)