diff options
author | Keith Packard <keithp@keithp.com> | 2015-02-04 20:30:15 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-02-04 20:30:15 -0800 |
commit | dbafa16cfa897b2a5c6cf455cf8675e83eb0d7d6 (patch) | |
tree | ba60dd9dc7925bbf0458e72271d648c79d7da455 | |
parent | be443d8d50ad8f59a74bf2f4e810a7359ff72132 (diff) |
altos/telebt-v3.0: Set initial radio cal to a sensible value
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>
-rw-r--r-- | src/telebt-v3.0/ao_pins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/telebt-v3.0/ao_pins.h b/src/telebt-v3.0/ao_pins.h index bcda90d1..838f0dfc 100644 --- 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) |