Skip to content
Snippets Groups Projects
Commit 8e1370b7 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

sys: auto_init: only auto init network interfaces when module is actually selected

parent a89b3822
No related branches found
No related tags found
No related merge requests found
...@@ -308,7 +308,8 @@ void auto_init(void) ...@@ -308,7 +308,8 @@ void auto_init(void)
#endif #endif
/* initialize network devices */ /* initialize network devices */
#ifdef MODULE_AUTO_INIT_NG_NETIF
#ifdef MODULE_NG_AT86RF2XX #ifdef MODULE_NG_AT86RF2XX
extern void auto_init_ng_at86rf2xx(void); extern void auto_init_ng_at86rf2xx(void);
...@@ -319,4 +320,6 @@ void auto_init(void) ...@@ -319,4 +320,6 @@ void auto_init(void)
extern void auto_init_xbee(void); extern void auto_init_xbee(void);
auto_init_xbee(); auto_init_xbee();
#endif #endif
#endif /* MODULE_AUTO_INIT_NG_NETIF */
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment