diff --git a/samples/subsys/usb/hid-cdc/src/main.c b/samples/subsys/usb/hid-cdc/src/main.c index 4954e0c570f..e3f922ff200 100644 --- a/samples/subsys/usb/hid-cdc/src/main.c +++ b/samples/subsys/usb/hid-cdc/src/main.c @@ -644,7 +644,7 @@ void main(void) LOG_INF("DTR on CDC ACM 1 set"); /* Wait 1 sec for the host to do all settings */ - k_busy_wait(K_SECONDS(1)); + k_busy_wait(K_SECONDS(1) * USEC_PER_MSEC); uart_irq_callback_set(cdc0_dev, cdc_mouse_int_handler); uart_irq_callback_set(cdc1_dev, cdc_kbd_int_handler);