stm32h7xx_hal_driver icon indicating copy to clipboard operation
stm32h7xx_hal_driver copied to clipboard

Function 'SPI_WaitOnFlagUntilTimeout': argument order different between definition and declaration

Open escherstair opened this issue 3 years ago • 1 comments

For the function SPI_WaitOnFlagUntilTimeout, the argument order is different between declaration and definition (Timeout and Tickstart swapped)

SPI_WaitOnFlagUntilTimeout declaration https://github.com/STMicroelectronics/stm32h7xx_hal_driver/blob/8e7eb8dba8bee5e4c260c6fc724437502e98fc76/Src/stm32h7xx_hal_spi.c#L170-L171

SPI_WaitOnFlagUntilTimeout definition https://github.com/STMicroelectronics/stm32h7xx_hal_driver/blob/8e7eb8dba8bee5e4c260c6fc724437502e98fc76/Src/stm32h7xx_hal_spi.c#L3827-L3828

escherstair avatar Apr 15 '22 11:04 escherstair

ST Internal Reference: 127122

ASELSTM avatar Apr 27 '22 14:04 ASELSTM

Hi @escherstair,

Thank you for your contribution. This issue has been fixed in the frame of version v1.11.1 of the stm32h7xx_hal_driver. Please allow me then to close this thread.

With regards,

ASELSTM avatar Apr 06 '23 14:04 ASELSTM