Question
#167: argument of type ''const BYTE *'' is incompatible with parameter of type ''uint8_t *''??
Posted on February 02, 2016 at 15:34
Guys,
Is there anyway to convert Byte to uint8_t ? I got this error : ..\Src\user_diskio.c(171): error: #167: argument of type ''const BYTE *'' is incompatible with parameter of type ''uint8_t *''static
void xmit_spi_multi ( const BYTE *p, /* Data block to be sent */ UINT cnt ) { while(HAL_SPI_GetState(&hspi2) != HAL_SPI_STATE_READY); HAL_SPI_Transmit(&hspi2,p,cnt,100); } thanks