From b0ec4523bd73f66da1f6e3f8d50dabffd9de5dc5 Mon Sep 17 00:00:00 2001 From: Koen Zandberg Date: Tue, 10 Jan 2017 14:13:10 +0100 Subject: [PATCH] auto_init: fix array-initializer order for gnrc_netdev2 stacks Fixes #6311 for the mrf24j40 --- sys/auto_init/netif/auto_init_mrf24j40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/auto_init/netif/auto_init_mrf24j40.c b/sys/auto_init/netif/auto_init_mrf24j40.c index ca19ac68a399..de720fdc4d30 100644 --- a/sys/auto_init/netif/auto_init_mrf24j40.c +++ b/sys/auto_init/netif/auto_init_mrf24j40.c @@ -40,7 +40,7 @@ static mrf24j40_t mrf24j40_devs[MRF24J40_NUM]; static gnrc_netdev2_t gnrc_adpt[MRF24J40_NUM]; -static char _mrf24j40_stacks[MRF24J40_MAC_STACKSIZE][MRF24J40_NUM]; +static char _mrf24j40_stacks[MRF24J40_NUM][MRF24J40_MAC_STACKSIZE]; void auto_init_mrf24j40(void) {