1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

auto_init: make MAC priorities higher than IPv6's

(and equal to 6LoWPAN's)
This commit is contained in:
Martine Lenders 2015-07-29 13:51:07 +02:00
parent 3d9945667f
commit 074bb83628
5 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@
* @{
*/
#define KW2XRF_MAC_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#define KW2XRF_MAC_PRIO (THREAD_PRIORITY_MAIN - 3)
#define KW2XRF_MAC_PRIO (THREAD_PRIORITY_MAIN - 4)
#define KW2XRF_NUM (sizeof(kw2xrf_params)/sizeof(kw2xrf_params[0]))

View File

@ -34,7 +34,7 @@
* @{
*/
#define AT86RF2XX_MAC_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#define AT86RF2XX_MAC_PRIO (THREAD_PRIORITY_MAIN - 3)
#define AT86RF2XX_MAC_PRIO (THREAD_PRIORITY_MAIN - 4)
#define AT86RF2XX_NUM (sizeof(at86rf2xx_params)/sizeof(at86rf2xx_params[0]))

View File

@ -36,7 +36,7 @@
* @{
*/
#define NETDEV_ETH_MAC_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#define NETDEV_ETH_MAC_PRIO (THREAD_PRIORITY_MAIN - 3)
#define NETDEV_ETH_MAC_PRIO (THREAD_PRIORITY_MAIN - 4)
static char _nomac_stack[NETDEV_ETH_MAC_STACKSIZE];

View File

@ -38,7 +38,7 @@ static ng_slip_dev_t slip_devs[SLIP_NUM];
* @{
*/
#define SLIP_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
#define SLIP_PRIO (PRIORITY_MAIN - 3)
#define SLIP_PRIO (PRIORITY_MAIN - 4)
/**
* @brief Stacks for the MAC layer threads

View File

@ -38,7 +38,7 @@ static xbee_t xbee_devs[XBEE_NUM];
* @{
*/
#define XBEE_MAC_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
#define XBEE_MAC_PRIO (THREAD_PRIORITY_MAIN - 3)
#define XBEE_MAC_PRIO (THREAD_PRIORITY_MAIN - 4)
/**
* @brief Stacks for the MAC layer threads