Код
../t26charge.c:20: warning: return type defaults to 'int'
На вот это:
Код
ISR(TIMER0_OVF0_vect)
{
++time_count;//18310 - 10 min
if(time_count==18310)
{
time_count=0;
++time;
if(time==max_time)
{
status |= (1<<7);
}
}
}
{
++time_count;//18310 - 10 min
if(time_count==18310)
{
time_count=0;
++time;
if(time==max_time)
{
status |= (1<<7);
}
}
}
Как сделать так чтоб не ругалось?
Еще есть такое:
Код
../t26charge.c:20: warning: type of '__vector_6' defaults to 'int'
../t26charge.c:31: warning: control reaches end of non-void function
../t26charge.c:31: warning: control reaches end of non-void function