USB: unify endpoints' TX and RX buffers
[bertos.git] / bertos / cpu / cortex-m3 / drv / usb_stm32.h
index f9cf425b4d9bcfc915255cd4a7402fc399c7493e..c01993496546d64e1f0d3a99968d95f661bcd5e2 100644 (file)
@@ -50,8 +50,7 @@
 #define USB_DISC_PIN   (1 << 11)
 
 #define USB_EP0_MAX_SIZE       8
-#define USB_RX_MAX_SIZE                64
-#define USB_TX_MAX_SIZE                64
+#define USB_XFER_MAX_SIZE      64
 
 /* USB packet memory organization */
 #define USB_PACKET_MEMORY_BASE         0x40006000