machinarium: unset to correct event type

This commit is contained in:
Dmitry Simonenko 2018-06-13 18:52:44 +03:00
parent ce96567a49
commit 05092d5aa1
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ int mm_eventmgr_wait(mm_eventmgr_t *mgr, mm_event_t *event, uint32_t time_ms)
assert(0);
break;
}
event->state = MM_CALL_NONE;
event->state = MM_EVENT_NONE;
pthread_spin_unlock(&mgr->lock);
return complete;