clean board uart read & write

This commit is contained in:
hathach
2019-03-20 20:58:27 +07:00
parent da55610f43
commit 20fb416783
10 changed files with 83 additions and 43 deletions
+8 -4
View File
@@ -153,14 +153,18 @@ uint32_t board_buttons(void)
//--------------------------------------------------------------------+
// UART
//--------------------------------------------------------------------+
void board_uart_putchar(uint8_t c)
int board_uart_read(uint8_t* buf, int len)
{
(void) c;
// UARTSend(&c, 1);
(void) buf;
(void) len;
return 0;
}
uint8_t board_uart_getchar(void)
int board_uart_write(void const * buf, int len)
{
// UARTSend(&c, 1);
(void) buf;
(void) len;
return 0;
}