altos: Adjust CC1200 RSSI reporting value
authorKeith Packard <keithp@keithp.com>
Tue, 23 Dec 2014 01:11:51 +0000 (17:11 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 23 Dec 2014 01:11:51 +0000 (17:11 -0800)
On the test setup, we were about 13dB off, so tweak the settings to
suit. This result wasn't tested; it's just a rough offset until we get
a production run of TeleDongle boards back to do more systematic
measurements.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1200_CC1200.h

index c54971960b90172df34d4f142b3c9c172cb33805..3567312380b5c1aadc8a2107f93cd9a8b64c0f3b 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #ifndef AO_CC1200_AGC_GAIN_ADJUST
  */
 
 #ifndef AO_CC1200_AGC_GAIN_ADJUST
-#define AO_CC1200_AGC_GAIN_ADJUST      -81
+#define AO_CC1200_AGC_GAIN_ADJUST      -94
 #endif
 
         CC1200_IOCFG2,                       0x06,       /* GPIO2 IO Pin Configuration */
 #endif
 
         CC1200_IOCFG2,                       0x06,       /* GPIO2 IO Pin Configuration */