mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys: auto_init: only auto init network interfaces when module is actually selected
This commit is contained in:
parent
a89b382297
commit
8e1370b7bc
@ -308,7 +308,8 @@ void auto_init(void)
|
||||
#endif
|
||||
|
||||
|
||||
/* initialize network devices */
|
||||
/* initialize network devices */
|
||||
#ifdef MODULE_AUTO_INIT_NG_NETIF
|
||||
|
||||
#ifdef MODULE_NG_AT86RF2XX
|
||||
extern void auto_init_ng_at86rf2xx(void);
|
||||
@ -319,4 +320,6 @@ void auto_init(void)
|
||||
extern void auto_init_xbee(void);
|
||||
auto_init_xbee();
|
||||
#endif
|
||||
|
||||
#endif /* MODULE_AUTO_INIT_NG_NETIF */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user