fix return value when mesh recv is finished

This commit is contained in:
Stefan `Sec` Zehl 2011-12-20 03:18:22 +01:00
parent 952f7cda4c
commit 5dcc09bae1
1 changed files with 1 additions and 5 deletions

View File

@ -301,12 +301,8 @@ uint8_t mesh_recvloop_plus(uint8_t state){
delayms_power(10); delayms_power(10);
}; };
if(getTimer()>recvend || pktctr>MESHBUFSIZE) if(getTimer()>recvend || pktctr>MESHBUFSIZE)
state=0xff; state=QS_END;
}; };
if(state==0xff){
return 0xff;
};
return state; return state;
}; };