Переглянути джерело

Merge pull request #26 from FabianInostroza/max_ep_fix

Fix MAX_EP. I though it was the total number of endpoints but by the …
Dmitry Filimonchuk 7 роки тому
батько
коміт
0a31c087a2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/usbd_stm32f105_otgfs.c

+ 1 - 1
src/usbd_stm32f105_otgfs.c

@@ -21,7 +21,7 @@
 
 #if defined(USBD_STM32F105)
 
-#define MAX_EP          6
+#define MAX_EP          3
 #define MAX_RX_PACKET   128
 #define MAX_CONTROL_EP  1
 #define MAX_FIFO_SZ     320  /*in 32-bit chunks */