set ev to valid value.

This commit is contained in:
nvt-se 2007-12-17 18:48:50 +00:00
parent 692da8fd47
commit bcefffb0e7

View File

@ -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) {