Ales Povalac / USBDeviceLite

Dependents:   EMIRv2

Fork of USBDevice by Ales Povalac

Revision:
25:f0299e22d4c0
Parent:
24:96a0946caef5
--- a/USBDevice/USBHAL_KL25Z.cpp	Tue May 06 18:09:48 2014 +0000
+++ b/USBDevice/USBHAL_KL25Z.cpp	Tue May 06 20:34:33 2014 +0000
@@ -66,7 +66,7 @@
 //    * 16 bidirectionnal endpt -> 32 physical endpt
 //    * as there are ODD and EVEN buffer -> 32*2 bdt
 __attribute__((__aligned__(512))) BDT bdt[NUMBER_OF_PHYSICAL_ENDPOINTS * 2];
-uint8_t endpoint_buffer[(NUMBER_OF_PHYSICAL_ENDPOINTS - 2) * 2][64];
+uint8_t endpoint_buffer[NUMBER_OF_PHYSICAL_ENDPOINTS * 2][64];
 
 static uint8_t set_addr = 0;
 static uint8_t addr = 0;