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:
parent
73bf2293bc
commit
802216ce53
@ -43,6 +43,7 @@ endif
|
||||
|
||||
ifneq (,$(filter at86rf%,$(USEMODULE)))
|
||||
USEMODULE += at86rf2xx
|
||||
DEFAULT_MODULE += auto_init_at86rf2xx
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user