How to check pre-processor output for macro expansion
Is there a way to see how CubeIDE is expanding/pre-processing this code?
typedef struct {
int16_t x;
int16_t y;
int16_t z;
} TouchPoint;
#define TS_Point(_x, _y, _z) { .x = _x, .y = _y, .z = _z }
TouchPoint Touch_FT6236_GetPoint(uint8_t n) {
Touch_FT6236_ReadData();
if ((touches == 0) || (n > 1)) {
return ((TouchPoint)TS_Point(0, 0, 0));
} else {
return ((TouchPoint)TS_Point(touchX[n], touchY[n], 1));
}
}Its compiling, but I'm getting weird values.

