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.

CCS: error message: error #60: function call is not allowed in a constant expression

Tool/software: Code Composer Studio

Hi everyone.

i get an error message when i try to assign a constant expression (from a define statment) to a global variable.

can you please help me and tell me: why i get this message and how to resolve this problem?

thank you very much for your help,

Reshef.

the Code: