diff --git a/lib/usb/usb.c b/lib/usb/usb.c index f8d025da..e15f5b2a 100644 --- a/lib/usb/usb.c +++ b/lib/usb/usb.c @@ -33,6 +33,7 @@ u8 usbd_control_buffer[128] __attribute__((weak)); * * It is required that the 48MHz USB clock is already available. * + * @param driver TODO * @param dev Pointer to USB device descriptor. This must not be changed while * the device is in use. * @param conf Pointer to array of USB configuration descriptors. These must diff --git a/lib/usb/usb_f103.c b/lib/usb/usb_f103.c index ae55bf02..972ceda6 100644 --- a/lib/usb/usb_f103.c +++ b/lib/usb/usb_f103.c @@ -74,7 +74,7 @@ static void stm32f103_set_address(u8 addr) * Set the receive buffer size for a given USB endpoint. * * @param ep Index of endpoint to configure. - * @param addr Size in bytes of the RX buffer. + * @param size Size in bytes of the RX buffer. */ static void usb_set_ep_rx_bufsize(u8 ep, u32 size) { @@ -200,7 +200,7 @@ static void stm32f103_ep_nak_set(u8 addr, u8 nak) /** * Copy a data buffer to packet memory. * - * @param PM Destination pointer into packet memory. + * @param vPM Destination pointer into packet memory. * @param buf Source pointer to data buffer. * @param len Number of bytes to copy. */ @@ -228,10 +228,10 @@ static u16 stm32f103_ep_write_packet(u8 addr, const void *buf, u16 len) } /** - * Copy a data buffer from Packet Memory. + * Copy a data buffer from packet memory. * * @param buf Source pointer to data buffer. - * @param PM Destination pointer into packet memory. + * @param vPM Destination pointer into packet memory. * @param len Number of bytes to copy. */ static void usb_copy_from_pm(void *buf, const volatile void *vPM, u16 len)