From 73b405b13ff98171368c9b76aa37f07f189eb31f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 29 Dec 2015 10:51:53 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8654 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/OTGv1/usb_lld.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h index 85038a9e2..42ef245c4 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h @@ -290,38 +290,34 @@ typedef struct { usbepcallback_t setup_cb; /** * @brief IN endpoint notification callback. - * @details This field must can be set to @p NULL if callback is not - * required. + * @details This field must be set to @p NULL if callback is not required. */ usbepcallback_t in_cb; /** * @brief OUT endpoint notification callback. - * @details This field must can be set to @p NULL if callback is not - * required. + * @details This field must be set to @p NULL if callback is not required. */ usbepcallback_t out_cb; /** * @brief IN endpoint maximum packet size. - * @details This field must be set to zero if the IN endpoint is not - * used. + * @details This field must be set to zero if the IN endpoint is not used. */ uint16_t in_maxsize; /** * @brief OUT endpoint maximum packet size. - * @details This field must be set to zero if the OUT endpoint is not - * used. + * @details This field must be set to zero if the OUT endpoint is not used. */ uint16_t out_maxsize; /** * @brief @p USBEndpointState associated to the IN endpoint. - * @details This structure maintains the state of the IN endpoint, - * set to @p NULL if the IN endpoint is not used. + * @details This field must be set to @p NULL if the IN endpoint is not + * used. */ USBInEndpointState *in_state; /** * @brief @p USBEndpointState associated to the OUT endpoint. - * @details This structure maintains the state of the OUT endpoint, - * set to @p NULL if the OUT endpoint is not used. + * @details This field must be set to @p NULL if the OUT endpoint is not + * used. */ USBOutEndpointState *out_state; /* End of the mandatory fields.*/ -- cgit v1.2.3