fix return value when mesh recv is finished
This commit is contained in:
parent
952f7cda4c
commit
5dcc09bae1
|
@ -301,12 +301,8 @@ uint8_t mesh_recvloop_plus(uint8_t state){
|
|||
delayms_power(10);
|
||||
};
|
||||
if(getTimer()>recvend || pktctr>MESHBUFSIZE)
|
||||
state=0xff;
|
||||
state=QS_END;
|
||||
};
|
||||
if(state==0xff){
|
||||
return 0xff;
|
||||
};
|
||||
|
||||
return state;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue