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.

同一套代码别人没问题为什么我的有问题?



代码如下:

void IOFace_Reflesh()
{
GpioDataRegs.GPBSET.bit.GPIO48 = 1; //165_PL
GpioDataRegs.GPBCLEAR.bit.GPIO50= 1; //595_STCP

SpiaRegs.SPITXBUF = (usDOState | (usDOState<<8));
Delay600(100);
usDIState = (SpiaRegs.SPIRXBUF>>8)&0xFF;

GpioDataRegs.GPBSET.bit.GPIO50= 1;
GpioDataRegs.GPBCLEAR.bit.GPIO48 = 1;

这里面的Delay600(100);在代码单步运行时总是提示Source not found.

然后我就查找了Delay600(100)这个函数,在整个工程中就看到了下面这两处

void Delay600(unsigned short usDelayNum );
void Delay100(unsigned short usDelayNum );

请问是否存在错误  谢谢