STMicroelectronics / stm32h7xx-hal-driver

Provides the STM32Cube MCU Component "hal_driver" of the STM32H7 series.
BSD 3-Clause "New" or "Revised" License
97 stars 41 forks source link

Wrong comment in HAL FDCAN Error Code #50

Closed EthenJ closed 6 months ago

EthenJ commented 7 months ago

There is a mistake in the comment on these two macros.

https://github.com/STMicroelectronics/stm32h7xx_hal_driver/blob/fec141ce999da655a48e1a15db83a72d564a1312/Inc/stm32h7xx_hal_fdcan.h#L818C1-L819C97

#define HAL_FDCAN_ERROR_FIFO_EMPTY      ((uint32_t)0x00000100U) /*!< Put element in full FIFO                                               */
#define HAL_FDCAN_ERROR_FIFO_FULL       ((uint32_t)0x00000200U) /*!< Get element from empty FIFO  
ASEHSTM commented 6 months ago

ST Internal Reference: 177629