../Cpu.c:60: warning: return type defaults to `int' ../Cpu.c: In function `SIGNAL': ../Cpu.c:75: warning: control reaches end of non-void function
//以下为中断函数代码 SIGNAL (TIM0_COMPA_vect) //Timer0定时60us中断 { uchar sreg = SREG; //系统定时时钟相关 if(system_counter < 252) system_counter++; else { system_counter = 0; SETBIT(system_status,SYSTEM_CLOCK); } SREG = sreg; } |