From 3e516e93c4aa50a78112c704b89b38f5885a53d5 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 12 Jun 2015 15:15:03 +0200 Subject: remove 3 endpoints to match at32u4 limit --- cores/arduino/USBCore.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cores/arduino/USBCore.cpp') 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, -- cgit v1.2.3-18-g5258