fix missing board uart read/write()

This commit is contained in:
hathach
2019-10-24 12:20:06 +07:00
parent 33e3bf001c
commit 6f952a8e84
34 changed files with 239 additions and 69 deletions

View File

@@ -152,16 +152,14 @@ 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;
(void) buf; (void) len;
return 0;
}
int board_uart_write(void const * buf, int len)
{
// UART_Send(BOARD_UART_PORT, &c, 1, BLOCKING);
(void) buf;
(void) len;
(void) buf; (void) len;
return 0;
}