From efdaf9225f15d9a83348686082730c1fb5439905 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 14 Mar 2021 10:50:23 +0100 Subject: [PATCH] sys/net/gnrc: disable sx126x auto init with loramac --- sys/net/gnrc/netif/init_devs/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/netif/init_devs/init.c b/sys/net/gnrc/netif/init_devs/init.c index f567120ac6ce..67df6e0a1a72 100644 --- a/sys/net/gnrc/netif/init_devs/init.c +++ b/sys/net/gnrc/netif/init_devs/init.c @@ -167,7 +167,7 @@ void gnrc_netif_init_devs(void) auto_init_nrf802154(); } - if (IS_USED(MODULE_SX126X)) { + if (IS_USED(MODULE_SX126X) && !IS_USED(MODULE_SEMTECH_LORAMAC)) { extern void auto_init_sx126x(void); auto_init_sx126x(); }