usart.c: In function 'usart_is_recv_ready':
usart.c:107:10: warning: implicit declaration of function 'USART_SR' [-Wimplicit-function-declaration]
return (USART_SR(usart) & USART_SR_RXNE);
(stm32f3)
Compiler assume USART_SR as function and will cause link error for the target uC.
(stm32f3)
Compiler assume USART_SR as function and will cause link error for the target uC.