at86rf2xx: different types have RSSI base values

This commit is contained in:
Oleg Hahm 2017-01-15 14:28:20 +01:00
parent 7c04f05d29
commit c04c5cb9f9

View File

@ -87,7 +87,17 @@ extern "C" {
/**
* @brief Base (minimal) RSSI value in dBm
*/
#define RSSI_BASE_VAL (-91)
#if MODULE_AT86RF233
# define RSSI_BASE_VAL (-94)
#elif MODULE_AT86RF212B
/**
* @note for the default settings in RIOT for the at86rf212b,
* for other seetings this value may change.
*/
# define RSSI_BASE_VAL (-98)
#else
# define RSSI_BASE_VAL (-91)
#endif
/**
* @brief Flags for device internal states (see datasheet)