syntax error but no compilation error
hello,
I have a syntax error on one line but no compilation error with stm32cubeide 1.14.1
HANDLE_busQuadSPI_CREATE(g_hbusQSPI_storage , &g_hqspi) ; //syntax error
HANDLE_busSPI_CREATE(g_hbusSPI3_interne , &g_hspi3); // no syntax errorwith
#define HANDLE_busQuadSPI_CREATE(var, s) \
busQuadSPI_handle_t var = { .quadSpiHal = s, .mutex = NULL , .state = QSPI_STATE_Ndef }and
#define HANDLE_busSPI_CREATE(var,s) \
busSPI_handle_t var = { .spiHal = s, .mutex = NULL , .state = SPI_STATE_Ndef }
if I don't use macro : no syntax error
busQuadSPI_handle_t g_hbusQSPI_storage = {.quadSpiHal = &g_hqspi , .mutex = NULL , .state = QSPI_STATE_Ndef } ;
HANDLE_busSPI_CREATE(g_hbusSPI3_interne , &g_hspi3); what can happen?
Thanks in advance