This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS12 defined constants are not being used correctly

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