Skip to content

Commit 775e877

Browse files
committed
loader: usb_next: c33: fix usb init
The patch fixes cdc_acm_0 initialization <err> usbd_class: Failed to register cdc_acm_0 to HS configuration 1
1 parent 4d6f238 commit 775e877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loader/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static int loader(const struct shell *sh) {
219219
return 0;
220220
}
221221
#elif CONFIG_LOG
222-
#if !CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT
222+
#if !CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT && !CONFIG_USB_DEVICE_STACK_NEXT
223223
usb_enable(NULL);
224224
#endif
225225
for (int i = 0; i < log_backend_count_get(); i++) {

0 commit comments

Comments
 (0)