aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-13 08:27:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-13 08:27:51 +0000
commit28e7808798ebb9c087d2ba15a0366362a50fea9e (patch)
tree42f2e69c2059c5ce475ed0c06c5f89b67f09bbe4 /os/hal/src
parentb058afec841760addc1d1fdabed3843cce9065d0 (diff)
downloadChibiOS-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/src')
-rw-r--r--os/hal/src/usb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/os/hal/src/usb.c b/os/hal/src/usb.c
index afe6f471c..2bf845e6e 100644
--- a/os/hal/src/usb.c
+++ b/os/hal/src/usb.c
@@ -354,8 +354,6 @@ void usbDisableEndpointsI(USBDriver *usbp) {
/**
* @brief Prepares for a receive transaction on an OUT endpoint.
- * @pre In order to use this function the endpoint must have been
- * initialized in transaction mode.
* @post The endpoint is ready for @p usbStartReceiveI().
* @note This function can be called both in ISR and thread context.
*
@@ -379,8 +377,6 @@ void usbPrepareReceive(USBDriver *usbp, usbep_t ep, uint8_t *buf, size_t n) {
/**
* @brief Prepares for a transmit transaction on an IN endpoint.
- * @pre In order to use this function the endpoint must have been
- * initialized in transaction mode.
* @post The endpoint is ready for @p usbStartTransmitI().
* @note This function can be called both in ISR and thread context.
* @note The queue must contain at least the amount of data specified
@@ -407,8 +403,6 @@ void usbPrepareTransmit(USBDriver *usbp, usbep_t ep,
/**
* @brief Prepares for a receive transaction on an OUT endpoint.
- * @pre In order to use this function the endpoint must have been
- * initialized in transaction mode.
* @post The endpoint is ready for @p usbStartReceiveI().
* @note This function can be called both in ISR and thread context.
* @note The queue must have enough free space to accommodate the
@@ -438,8 +432,6 @@ void usbPrepareQueuedReceive(USBDriver *usbp, usbep_t ep,
/**
* @brief Prepares for a transmit transaction on an IN endpoint.
- * @pre In order to use this function the endpoint must have been
- * initialized in transaction mode.
* @post The endpoint is ready for @p usbStartTransmitI().
* @note This function can be called both in ISR and thread context.
* @note The transmit transaction size is equal to the data contained