more with -Wcast-qual
This commit is contained in:
@@ -172,7 +172,7 @@ int board_uart_read(uint8_t* buf, int len)
|
||||
|
||||
int board_uart_write(void const * buf, int len)
|
||||
{
|
||||
LPUART_WriteBlocking(UART_PORT, (uint8_t*)buf, len);
|
||||
LPUART_WriteBlocking(UART_PORT, (uint8_t const*)buf, len);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user