aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-12 15:15:03 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:12:15 +0200
commit3e516e93c4aa50a78112c704b89b38f5885a53d5 (patch)
tree1715315e343f9b3c67e1c02f7b14e1113eed88c4 /cores/arduino/USBCore.cpp
parent8fbc30bd8afab6e70dfa4624250a5a6b676de553 (diff)
remove 3 endpoints to match at32u4 limit
Diffstat (limited to 'cores/arduino/USBCore.cpp')
-rw-r--r--cores/arduino/USBCore.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp
index d936a6b..b0160e2 100644
--- a/cores/arduino/USBCore.cpp
+++ b/cores/arduino/USBCore.cpp
@@ -315,10 +315,7 @@ u8 _initEndpoints[] =
EP_TYPE_BULK_IN, // CDC_ENDPOINT_IN
#ifdef PLUGGABLE_USB_ENABLED
- //allocate 6 endpoints and remove const so they can be changed by the user
- 0,
- 0,
- 0,
+ //allocate 3 endpoints and remove const so they can be changed by the user
0,
0,
0,