Skip to content

Commit

Permalink
sys/net/gnrc: disable sx126x auto init with loramac
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Mar 30, 2021
1 parent ba9b626 commit efdaf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/netif/init_devs/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit efdaf92

Please sign in to comment.