Fix Error: chip/lpc54_serial.c:1199:24: error: use of logical '&&' with constant operand
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
69dea8d329
commit
27a7ff41b5
@ -1196,7 +1196,7 @@ static int lpc54_receive(struct uart_dev_s *dev, unsigned int *status)
|
|||||||
|
|
||||||
if (status)
|
if (status)
|
||||||
{
|
{
|
||||||
*status = fiford && ~USART_FIFORD_RXDATA_MASK;
|
*status = fiford & ~USART_FIFORD_RXDATA_MASK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Then return the actual received data. */
|
/* Then return the actual received data. */
|
||||||
|
Loading…
Reference in New Issue
Block a user