Skip to content

Commit

Permalink
gcoap: make use of event_callback_post()
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Aug 29, 2024
1 parent 48850e6 commit 16c447a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/application_layer/gcoap/gcoap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 16c447a

Please sign in to comment.