dial it down a bit more to not exceed +10 dBm, or 10 mW radio-limit
authorBdale Garbee <bdale@gag.com>
Sat, 26 Feb 2022 05:11:17 +0000 (22:11 -0700)
committerBdale Garbee <bdale@gag.com>
Sat, 26 Feb 2022 05:11:17 +0000 (22:11 -0700)
src/drivers/ao_cc1200.c

index 7ac32e188e1b46319f14c60b0c4b996517d29825..4ddc96ce09b2dec483e722ea4b03c77ac9858527 100644 (file)
@@ -737,11 +737,11 @@ ao_radio_get(uint8_t len)
                last_radio_10mw = ao_config.radio_10mw;
                /*
                 * 0x37 "should" be 10dBm, but measurements on TBT
-                * v4.0 show that too hot by a about 1.5dB, so use
-                * 0x34 to make sure we're in spec.
+                * v4.0 show that too hot, so use * 0x32 to make sure 
+                * we're in spec.
                 */
                if (ao_config.radio_10mw)
-                       ao_radio_reg_write(CC1200_PA_CFG1, 0x34);
+                       ao_radio_reg_write(CC1200_PA_CFG1, 0x32);
                else
                        ao_radio_reg_write(CC1200_PA_CFG1, 0x3f);
        }