drivers/serial/uart_pl011.c : add the bitmask according to PL011 spec. (Although almost no problem.)

This commit is contained in:
TakuyaMiyasita 2024-06-03 15:38:03 +09:00 committed by Xiang Xiao
parent c93383407b
commit d6445484fe
1 changed files with 2 additions and 2 deletions

View File

@ -762,9 +762,9 @@ static int pl011_receive(FAR struct uart_dev_s *dev,
rx = config->uart->dr;
*status = 0;
*status = rx & 0xf00;
return rx;
return rx & 0xff;
}
/***************************************************************************