set ev to valid value.
This commit is contained in:
parent
692da8fd47
commit
bcefffb0e7
|
@ -362,7 +362,7 @@ PROCESS_THREAD(cc1020_receiver_process, ev, data)
|
|||
PROCESS_BEGIN();
|
||||
|
||||
while(1) {
|
||||
ev = NULL;
|
||||
ev = PROCESS_EVENT_NONE;
|
||||
PROCESS_YIELD_UNTIL(ev == PROCESS_EVENT_POLL);
|
||||
|
||||
if(receiver_callback != NULL) {
|
||||
|
|
Loading…
Reference in a new issue