Merge pull request #385 from OlegHahm/auto_init_cc110x
check for transceiver module before auto_initializing cc1100 driver
This commit is contained in:
commit
7f50fef6ce
@ -79,8 +79,10 @@ void auto_init(void)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_CC110X
|
#ifdef MODULE_CC110X
|
||||||
DEBUG("Auto init CC1100 module.\n");
|
DEBUG("Auto init CC1100 module.\n");
|
||||||
|
#ifndef MODULE_TRANSCEIVER
|
||||||
cc1100_init();
|
cc1100_init();
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef MODULE_LTC4150
|
#ifdef MODULE_LTC4150
|
||||||
DEBUG("Auto init ltc4150 module.\n");
|
DEBUG("Auto init ltc4150 module.\n");
|
||||||
ltc4150_init();
|
ltc4150_init();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user