projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be443d8
)
altos/telebt-v3.0: Set initial radio cal to a sensible value
author
Keith Packard
<keithp@keithp.com>
Thu, 5 Feb 2015 04:30:15 +0000
(20:30 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 5 Feb 2015 04:30:15 +0000
(20:30 -0800)
CC1200 uses a different xtal than CC1120, so the default calibration
needs to change. This value hit 434.550 on SN 2407, so it seems like a
reasonable place to start.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telebt-v3.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telebt-v3.0/ao_pins.h
b/src/telebt-v3.0/ao_pins.h
index bcda90d191a7a01e5b8cbb9b4ba4e4a6b0053419..838f0dfcfbc948d73c2e9fa3e8c170ddca96abcb 100644
(file)
--- a/
src/telebt-v3.0/ao_pins.h
+++ b/
src/telebt-v3.0/ao_pins.h
@@
-184,7
+184,7
@@
struct ao_adc {
/* gets pretty close to 434.550 */
-#define AO_RADIO_CAL_DEFAULT
0x6ca333
+#define AO_RADIO_CAL_DEFAULT
5695485
#define AO_FEC_DEBUG 0
#define AO_CC1200_SPI_CS_PORT (&stm_gpiob)