Merge pull request #385 from OlegHahm/auto_init_cc110x

check for transceiver module before auto_initializing cc1100 driver
This commit is contained in:
Oleg Hahm 2013-11-25 13:07:47 -08:00
commit 7f50fef6ce

View File

@ -79,8 +79,10 @@ void auto_init(void)
#endif
#ifdef MODULE_CC110X
DEBUG("Auto init CC1100 module.\n");
#ifndef MODULE_TRANSCEIVER
cc1100_init();
#endif
#endif
#ifdef MODULE_LTC4150
DEBUG("Auto init ltc4150 module.\n");
ltc4150_init();