I'm getting an error that says my defined constant is not a function. It's not supposed to be a function.
This is the error...
Tick.c:389:35: error: called object '200000000ul' is not a function
It points to...
#define TICKS_PER_SECOND ((GetPeripheralClock()+128ull)/256ull)
GetPeripheralClock has the error. It comes from...
#define GetSystemClock (200000000UL) #define GetInstructionClock (GetSystemClock/2) #define GetPeripheralClock (GetSystemClock)
Where is it deciding it is a function?