diff --git a/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c b/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c index 8e3454916..2e45000af 100644 --- a/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c +++ b/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c @@ -30,6 +30,7 @@ /*---------------------------------------------------------------------------*/ #include "contiki-conf.h" +#include "rf-core/dot-15-4g.h" #include "driverlib/rf_mailbox.h" #include "driverlib/rf_common_cmd.h" #include "driverlib/rf_prop_cmd.h" @@ -42,6 +43,12 @@ #define SMARTRF_SETTINGS_BOARD_OVERRIDES #endif /*---------------------------------------------------------------------------*/ +#ifdef SMARTRF_SETTINGS_CONF_BAND_OVERRIDES +#define SMARTRF_SETTINGS_BAND_OVERRIDES SMARTRF_SETTINGS_CONF_BAND_OVERRIDES +#else +#define SMARTRF_SETTINGS_BAND_OVERRIDES +#endif +/*---------------------------------------------------------------------------*/ #ifdef SMARTRF_SETTINGS_CONF_OVERRIDE_RSSI_OFFSET #define SMARTRF_SETTINGS_OVERRIDE_RSSI_OFFSET SMARTRF_SETTINGS_CONF_OVERRIDE_RSSI_OFFSET #else @@ -133,6 +140,9 @@ static uint32_t overrides[] = /* Board-specific overrides, if any */ SMARTRF_SETTINGS_BOARD_OVERRIDES + /* Band-specific overrides, if any */ + SMARTRF_SETTINGS_BAND_OVERRIDES + (uint32_t)0xFFFFFFFF, }; /*---------------------------------------------------------------------------*/