Skip to content

Commit a369847

Browse files
committed
loader: do not initialize two times usb
log_backend_init already initializes usb cdc_acm peripheral
1 parent 1dab3fb commit a369847

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

loader/main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,6 @@ static int loader(const struct shell *sh) {
219219
return 0;
220220
}
221221
#elif CONFIG_LOG
222-
#if !CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT
223-
usb_enable(NULL);
224-
#endif
225222
for (int i = 0; i < log_backend_count_get(); i++) {
226223
const struct log_backend *backend;
227224
backend = log_backend_get(i);

0 commit comments

Comments
 (0)