cc1200: configure RSSI offset as part of cc1200_rf_cfg

This commit is contained in:
Simon Duquennoy 2016-09-22 11:28:27 +02:00
parent 97843ed322
commit 622d576439
4 changed files with 7 additions and 13 deletions

View file

@ -1459,7 +1459,7 @@ configure(void)
#endif
/* RSSI offset */
single_write(CC1200_AGC_GAIN_ADJUST, (int8_t)CC1200_RSSI_OFFSET);
single_write(CC1200_AGC_GAIN_ADJUST, (int8_t)CC1200_RF_CFG.rssi_offset);
/***************************************************************************
* RF test modes needed during hardware development