Sign error. Whoops.

This commit is contained in:
Stefan `Sec` Zehl 2011-07-31 22:46:24 +02:00
parent aa821fca3f
commit 1ccda41467
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void mesh_recvloop(void){
};
if(MO_TYPE(buf)=='T'){
time_t toff=MO_TIME(buf)-((getTimer()-(1000/SYSTICKSPEED))/(1000/SYSTICKSPEED));
time_t toff=MO_TIME(buf)-((getTimer()+(300/SYSTICKSPEED))/(1000/SYSTICKSPEED));
if (toff>_timet) // Do not live in the past.
_timet = toff;
continue;