more -Wcast-qual

This commit is contained in:
hathach
2021-10-17 17:32:03 +07:00
parent a5f516893b
commit 31cd366935
17 changed files with 20 additions and 57 deletions

View File

@@ -153,7 +153,7 @@ int board_uart_read(uint8_t* buf, int len)
int board_uart_write(void const * buf, int len)
{
LPSCI_WriteBlocking(UART_PORT, (uint8_t*)buf, len);
LPSCI_WriteBlocking(UART_PORT, (uint8_t const*) buf, len);
return len;
}