diff --git a/sys/config/config.c b/sys/config/config.c index 12251d5094..a7bfaa03da 100644 --- a/sys/config/config.c +++ b/sys/config/config.c @@ -20,7 +20,7 @@ config_t sysconfig = { 0, /**< default ID */ -#ifdef HAS_RADIO +#ifdef FEATURE_TRANSCEIVER 0, /**< default radio address */ 0, /**< default radio channel */ #endif diff --git a/sys/include/config.h b/sys/include/config.h index c2162419a0..a61b70653c 100644 --- a/sys/include/config.h +++ b/sys/include/config.h @@ -20,7 +20,7 @@ #define CONFIG_H #include -#ifdef HAS_RADIO +#ifdef FEATURE_TRANSCEIVER #include "radio/types.h" #endif @@ -42,7 +42,7 @@ extern char configmem[]; typedef struct { /* cppcheck-suppress unusedStructMember : is used in sys/shell/commands/sc_id.c */ uint16_t id; /**< unique node identifier */ -#ifdef HAS_RADIO +#ifdef FEATURE_TRANSCEIVER radio_address_t radio_address; /**< address for radio communication */ uint8_t radio_channel; /**< current frequency */ #endif