diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-02-07 07:58:38 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-02-07 07:58:38 +0000 |
commit | af22a2dcaf9d9750ba5604d4ef9a82d0540a0c20 (patch) | |
tree | 753da72db551e5906d46e0a00b6ec2c38ff42909 /os/hal/ports/STM32/LLD/USBv1 | |
parent | 47a8438f5b7e146294a666a3e3ed3151fba8e9b9 (diff) | |
download | ChibiOS-af22a2dcaf9d9750ba5604d4ef9a82d0540a0c20.tar.gz ChibiOS-af22a2dcaf9d9750ba5604d4ef9a82d0540a0c20.tar.bz2 ChibiOS-af22a2dcaf9d9750ba5604d4ef9a82d0540a0c20.zip |
Documentation-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10092 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBv1')
-rw-r--r-- | os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c index 2e60a0465..f81fa722d 100644 --- a/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c +++ b/os/hal/ports/STM32/LLD/USBv1/hal_usb_lld.c @@ -107,6 +107,7 @@ static void usb_pm_reset(USBDriver *usbp) { *
* @param[in] usbp pointer to the @p USBDriver object
* @param[in] size size of the packet buffer to allocate
+ * @return The packet buffer address.
*/
static uint32_t usb_pm_alloc(USBDriver *usbp, size_t size) {
uint32_t next;
@@ -120,7 +121,7 @@ static uint32_t usb_pm_alloc(USBDriver *usbp, size_t size) { /**
* @brief Reads from a dedicated packet buffer.
*
- * @param[in] udp pointer to a @p stm32_usb_descriptor_t
+ * @param[in] ep endpoint number
* @param[out] buf buffer where to copy the packet data
* @return The size of the receivee packet.
*
|