summaryrefslogtreecommitdiff
path: root/src/drivers/ao_cc1120.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-17 01:24:52 -0700
committerKeith Packard <keithp@keithp.com>2012-07-17 01:24:52 -0700
commita5d873d47b3b16ca32559b4de668bf07b25eddb0 (patch)
tree47c2ca395d776b4e4574ca59dbfdb49d8b6ea870 /src/drivers/ao_cc1120.c
parent20877ae9de8bb5d3a29e2a96024e53afbd396f55 (diff)
altos: Place STM config values at fixed addresses for re-use
Just like cc1111, stick the serial number and radio calibration values at known fixed addresses so that when re-flashing the board, we can go find the existing values. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc1120.c')
-rw-r--r--src/drivers/ao_cc1120.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c
index 569df3b7..97a434d8 100644
--- a/src/drivers/ao_cc1120.c
+++ b/src/drivers/ao_cc1120.c
@@ -29,7 +29,7 @@ uint8_t ao_radio_in_recv;
#define CC1120_DEBUG AO_FEC_DEBUG
#define CC1120_TRACE 0
-const uint32_t ao_radio_cal = 0x6ca333;
+extern const uint32_t ao_radio_cal;
#define FOSC 32000000