diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-13 08:27:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-13 08:27:51 +0000 |
commit | 28e7808798ebb9c087d2ba15a0366362a50fea9e (patch) | |
tree | 42f2e69c2059c5ce475ed0c06c5f89b67f09bbe4 /os/hal/include/usb.h | |
parent | b058afec841760addc1d1fdabed3843cce9065d0 (diff) | |
download | ChibiOS-28e7808798ebb9c087d2ba15a0366362a50fea9e.tar.gz ChibiOS-28e7808798ebb9c087d2ba15a0366362a50fea9e.tar.bz2 ChibiOS-28e7808798ebb9c087d2ba15a0366362a50fea9e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4561 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/usb.h')
-rw-r--r-- | os/hal/include/usb.h | 16 |
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.
|