Procházet zdrojové kódy

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 před 7 roky
rodič
revize
0a31c087a2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 */