mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gcoap: make use of event_callback_post()
This commit is contained in:
parent
48850e6331
commit
16c447afb1
@ -1842,7 +1842,7 @@ ssize_t gcoap_req_send(const uint8_t *buf, size_t len,
|
|||||||
event_callback_init(&_receive_from_cache,
|
event_callback_init(&_receive_from_cache,
|
||||||
_receive_from_cache_cb,
|
_receive_from_cache_cb,
|
||||||
memo);
|
memo);
|
||||||
event_post(&_queue, &_receive_from_cache.super);
|
event_callback_post(&_queue, &_receive_from_cache);
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user