2022-03-02 09:03 PM
I have tried everything to clear this error. Does anyone know what I am doing wrong and how to fix it? The error if pointing to the HAL_UART_Transmit_DMA call.
uint8_t SPI_data[SPI_Buffer_Size] = {};
HAL_UART_Transmit_DMA(RS485_1, SPI_data, strlen(SPI_data));
Thank you all!
2022-03-02 10:17 PM
I guess it's the string length which needs "char", so try:
HAL_UART_Transmit_DMA(RS485_1, SPI_data, strlen((char *)SPI_data));
2022-03-03 08:28 AM
Thank you thank you thank you!
That was it.