From 28e7808798ebb9c087d2ba15a0366362a50fea9e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 13 Aug 2012 08:27:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4561 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/usb.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'os/hal/include/usb.h') 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 @@ -411,20 +409,6 @@ typedef const USBDescriptor * (*usbgetdescriptor_t)(USBDriver *usbp, #define usbGetReceiveTransactionSizeI(usbp, ep) \ 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 -- cgit v1.2.3