Question
error: unknown type name 'SPI_HandleTypeDef'
Hi i encounter this error while compiling SPI1 at ST7735.h, i dont understand as this error 'SPI_HandleTypeDef' type was generated by .ioc in main.c already and i had call this statement in ST7735.h. Could anyone kindly help?
error: unknown type name 'SPI_HandleTypeDef' --> in st7735.h
// st7735.h
#define ST7735_SPI_PORT hspi1
extern SPI_HandleTypeDef ST7735_SPI_PORT;
