From 16c447afb1d1fbb540829aa43159aa235ac2cdcd Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 29 Aug 2024 17:35:54 +0200 Subject: [PATCH] gcoap: make use of event_callback_post() --- sys/net/application_layer/gcoap/gcoap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }