diff --git a/sys/net/application_layer/gcoap/gcoap.c b/sys/net/application_layer/gcoap/gcoap.c index b316371396..d53fc8532a 100644 --- a/sys/net/application_layer/gcoap/gcoap.c +++ b/sys/net/application_layer/gcoap/gcoap.c @@ -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; } }