소스 검색

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 */