Sign error. Whoops.
This commit is contained in:
parent
aa821fca3f
commit
1ccda41467
|
@ -76,7 +76,7 @@ void mesh_recvloop(void){
|
||||||
};
|
};
|
||||||
|
|
||||||
if(MO_TYPE(buf)=='T'){
|
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.
|
if (toff>_timet) // Do not live in the past.
|
||||||
_timet = toff;
|
_timet = toff;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue