More panic messages to debug.
This commit is contained in:
parent
cbb698e11c
commit
db44512fe3
|
@ -254,6 +254,9 @@ uint8_t mesh_recvqloop_work(void){
|
||||||
if(MO_TYPE(buf)=='T'){
|
if(MO_TYPE(buf)=='T'){
|
||||||
time_t toff=MO_TIME(buf)-((getTimer()+(600/SYSTICKSPEED))/(1000/SYSTICKSPEED));
|
time_t toff=MO_TIME(buf)-((getTimer()+(600/SYSTICKSPEED))/(1000/SYSTICKSPEED));
|
||||||
if (toff>_timet){ // Do not live in the past.
|
if (toff>_timet){ // Do not live in the past.
|
||||||
|
if( (_timet!=0) && (toff-_timet)>5){
|
||||||
|
meshPanic(buf,0x20);
|
||||||
|
};
|
||||||
_timet = toff;
|
_timet = toff;
|
||||||
meshincctr++;
|
meshincctr++;
|
||||||
};
|
};
|
||||||
|
|
|
@ -77,5 +77,5 @@ int main(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getrelease(void){
|
int getrelease(void){
|
||||||
return 0x00000109;
|
return 0x0000010b;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue