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.

CCS7全局变量无故改变的问题

下图是我定义的两个变量

Uint16 Function_state; //功能
Uint16 Remember_state; //上电记忆状态

在仿真的时候出现这两个变量不初始化,里面是垃圾值,并且两个变量的值会莫名其妙改变。