aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-20 15:31:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-20 15:31:48 +0000
commit34310e401f78e1849e73e1e74efea661be967e61 (patch)
tree45bdf83c02937bec81923b9de51aa72ed3fd6ace /os/hal/include
parent69fcaa5f972cf2315bcf67847b2a75f75d83d890 (diff)
downloadChibiOS-34310e401f78e1849e73e1e74efea661be967e61.tar.gz
ChibiOS-34310e401f78e1849e73e1e74efea661be967e61.tar.bz2
ChibiOS-34310e401f78e1849e73e1e74efea661be967e61.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4594 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/usb_cdc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/hal/include/usb_cdc.h b/os/hal/include/usb_cdc.h
index 2f7247fee..84005604a 100644
--- a/os/hal/include/usb_cdc.h
+++ b/os/hal/include/usb_cdc.h
@@ -89,19 +89,19 @@
#endif
/**
- * @brief Endpoint number for interrupt IN.
+ * @brief Endpoint number for bulk OUT.
*/
-#if !defined(USB_CDC_INTERRUPT_REQUEST_EP) || defined(__DOXYGEN__)
-#define USB_CDC_INTERRUPT_REQUEST_EP 2
+#if !defined(USB_CDC_DATA_AVAILABLE_EP) || defined(__DOXYGEN__)
+#define USB_CDC_DATA_AVAILABLE_EP 1
#endif
+/** @} */
/**
- * @brief Endpoint number for bulk OUT.
+ * @brief Endpoint number for interrupt IN.
*/
-#if !defined(USB_CDC_DATA_AVAILABLE_EP) || defined(__DOXYGEN__)
-#define USB_CDC_DATA_AVAILABLE_EP 3
+#if !defined(USB_CDC_INTERRUPT_REQUEST_EP) || defined(__DOXYGEN__)
+#define USB_CDC_INTERRUPT_REQUEST_EP 2
#endif
-/** @} */
/*===========================================================================*/
/* Derived constants and error checks. */