if(key_up&&(KEY0==0||KEY1==0||KEY2==0||WK_UP==1) )
{
delay_ms(10);
key_up=0;
if(KEY0==0)return 1;
else if(KEY1==0)return 2;
else if(KEY2==0)return 3;
else if (WK_UP==1)return 4; 这一行总是出现 ..HARDWAREKEYkey.c(38): error: #18: expected a ")"
}
到底是为什么呢? |