diff options
Diffstat (limited to 'os/hal/include/usb_cdc.h')
-rw-r--r-- | os/hal/include/usb_cdc.h | 14 |
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. */
|