Skip to content
Snippets Groups Projects
Unverified Commit 38b8be0d authored by Sebastian Meiling's avatar Sebastian Meiling Committed by GitHub
Browse files

Merge pull request #8836 from miri64/gnrc_netreg/fix/netapi-pid-init-with-callbacks

gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks
parents 21a99583 31711a85
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ typedef enum {
*
* @return An initialized netreg entry
*/
#ifdef MODULE_GNRC_NETAPI_MBOX
#if defined(MODULE_GNRC_NETAPI_MBOX) || defined(MODULE_GNRC_NETAPI_CALLBACKS)
#define GNRC_NETREG_ENTRY_INIT_PID(demux_ctx, pid) { NULL, demux_ctx, \
GNRC_NETREG_TYPE_DEFAULT, \
{ pid } }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment