More panic messages to debug.

This commit is contained in:
Stefan `Sec` Zehl 2012-01-05 04:13:57 +01:00
parent cbb698e11c
commit db44512fe3
2 changed files with 4 additions and 1 deletions

View File

@ -254,6 +254,9 @@ uint8_t mesh_recvqloop_work(void){
if(MO_TYPE(buf)=='T'){
time_t toff=MO_TIME(buf)-((getTimer()+(600/SYSTICKSPEED))/(1000/SYSTICKSPEED));
if (toff>_timet){ // Do not live in the past.
if( (_timet!=0) && (toff-_timet)>5){
meshPanic(buf,0x20);
};
_timet = toff;
meshincctr++;
};

View File

@ -77,5 +77,5 @@ int main(void) {
}
int getrelease(void){
return 0x00000109;
return 0x0000010b;
};