***WARNINGL16:UNCALLEDSEGMENT,IGNOREDFOROVERLAYPROCESSSEGMENT:PR?_DELAY?TEXT1
出现了***WARNINGL16:UNCALLEDSEGMENT,IGNOREDFOROVERLAYPROCESSSEGMENT:PR?_DELAY?TEXT1的警告,但不知如何修改.源程序如下.求大神指教.
#include
charled1[]={0x00,0x18,0x3c,0x7e,0xff};
charled2[]={0xff,0x7f,0x3f,0x1f,0x0f,0x03,0x01,0x00};
charled3[]={0x13,0x23,0x33,0x43,0x53,0x63,0x14,0x24,0x34,0x44,0x54,0x64};
charmode=1,run=1;
delay(chartime)
{
intj;
x05for(;time>0;time--)
x05for(j=1000;j>0;j--){}
}
main()x05x05x05x05x05x05x05x05x05x05x05x05x05
{
intm,i;
x05while(1)
x05{
x05for(i=2000;i>0;i--){}
x05switch(P1)
x05x05{
x05x05case0xfe:run=1;break;
x05x05case0xfd:run=0;break;
x05x05case0xf7:run=1;mode=1;break;
x05x05case0xef:run=1;mode=2;break;
x05x05case0xdf:run=1;mode=3;break;
x05x05case0x7f:P0=0x02;P2=0xff;break;
x05x05}
x05}
if(run)
x05{
x05switch(mode)
x05x05{
x05x05case1:P0=0xee;m++;P2=led1[m];if(m>5)m=0;delay(50);break;
x05x05case2:P0=0x3e;m++;P2=led2[m];if(m>8)x05m=0;delay(50);break;
x05x05case3:P0=0x9c;m++;P2=led3[m];if(m>12)m=0;delay(50);break;
x05x05}
x05}
}