net/gnrc/ipv6: Move config macros to 'CONFIG_' namespace

This commit is contained in:
PeterKietzmann 2020-01-07 15:36:04 +01:00
parent ad7d0d302e
commit 3f0a19a9bc
2 changed files with 4 additions and 4 deletions

View File

@ -140,8 +140,8 @@ extern "C" {
/** /**
* @brief Default message queue size to use for the IPv6 thread. * @brief Default message queue size to use for the IPv6 thread.
*/ */
#ifndef GNRC_IPV6_MSG_QUEUE_SIZE #ifndef CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE
#define GNRC_IPV6_MSG_QUEUE_SIZE (8U) #define CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE (8U)
#endif #endif
#ifdef DOXYGEN #ifdef DOXYGEN

View File

@ -172,12 +172,12 @@ static void _dispatch_next_header(gnrc_pktsnip_t *pkt, unsigned nh,
static void *_event_loop(void *args) static void *_event_loop(void *args)
{ {
msg_t msg, reply, msg_q[GNRC_IPV6_MSG_QUEUE_SIZE]; msg_t msg, reply, msg_q[CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE];
gnrc_netreg_entry_t me_reg = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX_CTX_ALL, gnrc_netreg_entry_t me_reg = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX_CTX_ALL,
sched_active_pid); sched_active_pid);
(void)args; (void)args;
msg_init_queue(msg_q, GNRC_IPV6_MSG_QUEUE_SIZE); msg_init_queue(msg_q, CONFIG_GNRC_IPV6_MSG_QUEUE_SIZE);
/* initialize fragmentation data-structures */ /* initialize fragmentation data-structures */
#ifdef MODULE_GNRC_IPV6_EXT_FRAG #ifdef MODULE_GNRC_IPV6_EXT_FRAG