update uart read for lpc18/43 for testing

This commit is contained in:
hathach
2022-11-18 21:50:00 +07:00
parent b00529e287
commit a6001fc8f2
6 changed files with 17 additions and 10 deletions

View File

@@ -141,9 +141,7 @@ uint32_t board_button_read(void)
int board_uart_read(uint8_t* buf, int len)
{
//return UART_ReceiveByte(BOARD_UART_PORT);
(void) buf; (void) len;
return 0;
return Chip_UART_Read(UART_DEV, buf, len);
}
int board_uart_write(void const * buf, int len)