mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 01:23:49 +01:00
gnrc/ipv6: make message queue static
This commit is contained in:
parent
14b608cb23
commit
975f8959ce
@ -50,6 +50,7 @@
|
||||
#define _MAX_L2_ADDR_LEN (8U)
|
||||
|
||||
static char _stack[GNRC_IPV6_STACK_SIZE + DEBUG_EXTRA_STACKSIZE];
|
||||
static msg_t _msg_q[GNRC_IPV6_MSG_QUEUE_SIZE];
|
||||
|
||||
#ifdef MODULE_FIB
|
||||
/**
|
||||
@ -172,12 +173,12 @@ static void _dispatch_next_header(gnrc_pktsnip_t *pkt, unsigned nh,
|
||||
|
||||
static void *_event_loop(void *args)
|
||||
{
|
||||
msg_t msg, reply, msg_q[GNRC_IPV6_MSG_QUEUE_SIZE];
|
||||
msg_t msg, reply;
|
||||
gnrc_netreg_entry_t me_reg = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX_CTX_ALL,
|
||||
thread_getpid());
|
||||
|
||||
(void)args;
|
||||
msg_init_queue(msg_q, GNRC_IPV6_MSG_QUEUE_SIZE);
|
||||
msg_init_queue(_msg_q, GNRC_IPV6_MSG_QUEUE_SIZE);
|
||||
|
||||
/* initialize fragmentation data-structures */
|
||||
#ifdef MODULE_GNRC_IPV6_EXT_FRAG
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user