aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/usb.h')
-rw-r--r--os/hal/include/usb.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/os/hal/include/usb.h b/os/hal/include/usb.h
index 9cb933b2d..a99b9f511 100644
--- a/os/hal/include/usb.h
+++ b/os/hal/include/usb.h
@@ -399,8 +399,6 @@ typedef const USBDescriptor * (*usbgetdescriptor_t)(USBDriver *usbp,
* @details The received size can be different from the size specified in
* @p usbStartReceiveI() because the last packet could have a size
* different from the expected one.
- * @pre The OUT endpoint must have been configured in transaction mode
- * in order to use this function.
*
* @param[in] usbp pointer to the @p USBDriver object
* @param[in] ep endpoint number
@@ -412,20 +410,6 @@ typedef const USBDescriptor * (*usbgetdescriptor_t)(USBDriver *usbp,
usb_lld_get_transaction_size(usbp, ep)
/**
- * @brief Returns the exact size of a received packet.
- * @pre The OUT endpoint must have been configured in packet mode
- * in order to use this function.
- *
- * @param[in] usbp pointer to the @p USBDriver object
- * @param[in] ep endpoint number
- * @return Received data size.
- *
- * @iclass
- */
-#define usbGetReceivePacketSizeI(usbp, ep) \
- usb_lld_get_packet_size(usbp, ep)
-
-/**
* @brief Request transfer setup.
* @details This macro is used by the request handling callbacks in order to
* prepare a transaction over the endpoint zero.