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.

ccs6.1 wired syntax problem .



I simply define a parameter called "td_bf". but ccs6.1 gives an error message. it says: "#66 expected a ";" ".

the command is shown below. it is confusing to me that a ";" is inserted at the end of the command. what it says a ";" is missing?

int32 td_bf = 0; // deadtime before main switch turn-on

 

Thank you.

Zhiyang

  • Hello Zhiyang,

    That piece of code looks ok. Did you typedef the int32, i.e. typedef long int int32; ?

    Also, you there may be an issue in some of your other pieces of code that is causing the error. Comment out the piece of code (i.e. //int32 td_bf = 0;) and see if you get any other errors.

    Stephen