Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Dec 1, 2023
1 parent 2eb710b commit 8994931
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/risc-v/src/jh7110/bl602_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,11 +892,12 @@ static int bl602_receive(struct uart_dev_s *dev, unsigned int *status)
else
{
rxdata = -1;
_info("rxdata=-1\n");////
////TODO
//// Begin Test: Read the UART Input anyway
_info("rxdata=-1\n");
rxdata = getreg32(BL602_UART_FIFO_RDATA(uart_idx)) & \
UART_FIFO_RDATA_MASK;
_info("rxdata=0x%x\n", rxdata);////
_info("rxdata=0x%x\n", rxdata);
//// End Test
}
return rxdata;
}
Expand Down

0 comments on commit 8994931

Please sign in to comment.