Skip to content

Commit ebbd307

Browse files
committed
remove 3 endpoints to match at32u4 limit
1 parent 1bf2082 commit ebbd307

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hardware/arduino/avr/cores/arduino/USBCore.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,7 @@ u8 _initEndpoints[] =
315315
EP_TYPE_BULK_IN, // CDC_ENDPOINT_IN
316316

317317
#ifdef PLUGGABLE_USB_ENABLED
318-
//allocate 6 endpoints and remove const so they can be changed by the user
319-
0,
320-
0,
321-
0,
318+
//allocate 3 endpoints and remove const so they can be changed by the user
322319
0,
323320
0,
324321
0,

0 commit comments

Comments
 (0)