traceTASK_SWITCHED_IN define throws implicit declaration of function

The #define will insert the text of the call to vSetTracePin.

The C Code wants to know the prototype to cal that function.

In FreeRTOSConfig,h, normally just before or after the define, include prototype for the function. Something like:

extern void vSetTracePin(int, int);
extern void vRestTracePin(int, int);
1 Like