Allow frequency band-specific overrides
This commit is contained in:
parent
5756248949
commit
c745199d53
|
@ -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,
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue