1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 16:01:18 +01:00

check for transceiver module before auto_initializing cc1100 driver

This commit is contained in:
Oleg Hahm 2013-11-21 20:50:47 +01:00
parent 60880821fa
commit 899c3681a7

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();