samples: usb: hid-cdc: Use proper value in k_busy_wait()
The wait time value should be in microseconds. Fixes #18059 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
1c65789d85
commit
303ef27535
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue