cancel
Showing results for 
Search instead for 
Did you mean: 

h

ESeyo
Associate
h

2 REPLIES 2
S.Ma
Principal

Poor coding causing malfunctions.

Example:

if((SPI1->SR & SPI_SR_RXNE) && (SPI1->CR2 |= SPI_CR2_RXNEIE))

SPI1->CR2 |= SPI_CR2_RXNEIE is always non zero, hence TRUE.

thanks I correct that it is beeing more that 2 weeks to fix this problem but I could not can you help me