Skip to content
Snippets Groups Projects
Commit 31711a85 authored by Martine Lenders's avatar Martine Lenders
Browse files

gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks

parent 719515a0
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ typedef enum { ...@@ -93,7 +93,7 @@ typedef enum {
* *
* @return An initialized netreg entry * @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, \ #define GNRC_NETREG_ENTRY_INIT_PID(demux_ctx, pid) { NULL, demux_ctx, \
GNRC_NETREG_TYPE_DEFAULT, \ GNRC_NETREG_TYPE_DEFAULT, \
{ pid } } { 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