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.

MSP430FR2353 使用CCS9 debug调试问题

void Test(int Byte);

void Test(int Byte)
{
int i=0;
if(Byte ==0x55)    //调用函数调用该函数,Byte默认0?????
{
i++;

}

}
/**
* main.c
*/
int main(void)
{
int SendByte=0x55;
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
while(1)
{
SendByte++;      //SendByte 定义成全局变量是FET430UIF调试工具进行在线调试单步执行能执行到该步,但是定义成局部变量不能执行该步骤???????
Test(SendByte);  //自己写的调用函数也没有办法调用,意见传参数失败
}
//return 0;
}

不清楚是什么原因?