Browse Source

Merge pull request #5137 from cgundogan/pr/gnrc_rpl/thread_prio

gnrc_rpl: thread prio greater than gnrc_ipv6
pr/gpio
Cenk Gündoğan 7 years ago
parent
commit
01d95afb14
  1. 3
      sys/include/net/gnrc/rpl.h

3
sys/include/net/gnrc/rpl.h

@ -69,6 +69,7 @@
#include <string.h>
#include <stdint.h>
#include "net/gnrc.h"
#include "net/gnrc/ipv6.h"
#include "net/ipv6/addr.h"
#include "net/gnrc/nettype.h"
#include "net/gnrc/rpl/structs.h"
@ -93,7 +94,7 @@ extern "C" {
* @brief Default priority for the RPL thread
*/
#ifndef GNRC_RPL_PRIO
#define GNRC_RPL_PRIO (THREAD_PRIORITY_MAIN - 4)
#define GNRC_RPL_PRIO (GNRC_IPV6_PRIO + 1)
#endif
/**

Loading…
Cancel
Save