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.

cc2530用 IAR 7.60.1 (7.60.1.40026)环境,为什么定义一个整型却用不了??



我定义一个int8的整型,却用不了!部分代码

void SampleApp_MessageMSGCB( afIncomingMSGPacket_t *pkt )
{
int8 index=0;

index=index+2;   //在这设置断点 会提示 IAR警告  

在这个函数里其它地方设断点,index数值 却是 unavailable 。这是什么情况呢。。求助啊