1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.dep: add auto_init_at86rf2xx MODULE

This commit is contained in:
Francisco Molina 2020-01-16 09:18:39 +01:00
parent 73bf2293bc
commit 802216ce53
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ endif
ifneq (,$(filter at86rf%,$(USEMODULE)))
USEMODULE += at86rf2xx
DEFAULT_MODULE += auto_init_at86rf2xx
USEMODULE += xtimer
USEMODULE += luid
USEMODULE += netif

View File

@ -223,7 +223,7 @@ void auto_init(void)
auto_init_stm32_eth();
#endif
#ifdef MODULE_AT86RF2XX
#ifdef MODULE_AUTO_INIT_AT86RF2XX
extern void auto_init_at86rf2xx(void);
auto_init_at86rf2xx();
#endif