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.

CC2640 宣告的變數被TaskStack覆蓋修改



Hi,

我在專案中宣告一個自定義結構,用debug mode觀察此結構變數的記憶體空間,

發現在BLE連線後,結構的其中一部分會被修改掉,或是改變結構中某個值時,會導致結構中的其他值也被修改。

請問這是否跟source code的最佳化有關係?