insane-adding-machines / unicore-mx

UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X
GNU General Public License v3.0
50 stars 8 forks source link

possible sign of problem (in compiler warning) #41

Open kuldeepdhaka opened 7 years ago

kuldeepdhaka commented 7 years ago
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.