AnsweredAssumed Answered

stm8_uart1.c error

Question asked by 55823 on Oct 16, 2013
Latest reply on Feb 25, 2018 by Dmitry Key
I am not sure if this is a proper place for reporting errors. If not so, please tell me, where to report it.
The error is in stm8_uart1.c module of STM8S_StdPeriph_Lib_V2.1.0.
According to description of UART1_ITConfig one of the parameters can have value UART1_IT_RXNE or UART1_OR. When using one of these, the assert_failed function will be called as macro IS_UART1_CONFIG_IT_OK(UART1_IT) treat them as invalid parameters. Using parameter UART1_IT_RXNE_OR works well with the same effect, but at least the description of UART1_ITConfig should be corrected to safe developers time ;-).