1
0
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:
Benjamin Valentin 2024-08-29 17:35:54 +02:00
parent 48850e6331
commit 16c447afb1

View File

@ -1842,7 +1842,7 @@ ssize_t gcoap_req_send(const uint8_t *buf, size_t len,
event_callback_init(&_receive_from_cache,
_receive_from_cache_cb,
memo);
event_post(&_queue, &_receive_from_cache.super);
event_callback_post(&_queue, &_receive_from_cache);
return len;
}
}