projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e76617
)
dial it down a bit more to not exceed +10 dBm, or 10 mW
radio-limit
author
Bdale Garbee
<bdale@gag.com>
Sat, 26 Feb 2022 05:11:17 +0000
(22:11 -0700)
committer
Bdale Garbee
<bdale@gag.com>
Sat, 26 Feb 2022 05:11:17 +0000
(22:11 -0700)
src/drivers/ao_cc1200.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_cc1200.c
b/src/drivers/ao_cc1200.c
index 7ac32e188e1b46319f14c60b0c4b996517d29825..4ddc96ce09b2dec483e722ea4b03c77ac9858527 100644
(file)
--- a/
src/drivers/ao_cc1200.c
+++ b/
src/drivers/ao_cc1200.c
@@
-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, 0x3
4
);
+ ao_radio_reg_write(CC1200_PA_CFG1, 0x3
2
);
else
ao_radio_reg_write(CC1200_PA_CFG1, 0x3f);
}