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.

全局变量无法赋新值



TI技术专家:

你好!我用CCS5.5定义了一个全局变量,但下面的函数里对其赋值后,在调试过程中观察全局变量并没有

赋上值,定义时我加了volatile关键字也不行。请专家给予指点,谢谢!