CCS12 more strange things.
I define a constant in a header file.
#define cstSpeedMultiplier 6.556
I try to use that while loading values.
pntMotor->intSlewSpeed = 305064 * cstSpeedMultiplier;
Back in CCS9 and all the way back to CCS3.3, that all worked. Now, the code is compiled and runs. Yet, when I examine the variable, it is zero. It's like the constant did not get used by the compiler/linker etc.
What is happening now?
David