cancel
Showing results for 
Search instead for 
Did you mean: 

[Cube OTG USB] [Minor issue]incorrectly @param description on HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num)

oneshot.triplekill
Associate II

The original param description:

 * @param num FIFO number

 *    This parameter can be a value from 1 to 15

      15 means Flush all Tx FIFOs

According to stm32h7 reference manual, it should be:

 * @param num FIFO number

 *    This parameter can be a value from 1 to 15

      16 means Flush all Tx FIFOs

:beaming_face_with_smiling_eyes:

This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Sara BEN HADJ YAHYA
ST Employee

Hello @oneshot.triplekill@qq.com​ ,

Thanks for your feedback,

This is not a CubeMX issue, the stm32h7xx_ll_usb.c file is copied and not generated by MX. I see your point, there is indeed a mismatch between the Reference manual and the usb driver file.

I am adding @Amel NASRI​  to the loop to further check this issue.

Sara.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

ahaha, thanks .:beaming_face_with_smiling_eyes: