summaryrefslogtreecommitdiff
path: root/src/stm/ao_romconfig.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-08-07 20:16:41 -0700
committerKeith Packard <keithp@keithp.com>2015-08-07 20:16:41 -0700
commit783d3f6f3bb2a339aab297d993df6704ea9287e6 (patch)
tree9ebf8236bbd81789571a45571f39b9d6f4ba970b /src/stm/ao_romconfig.c
parentb1c45d010276b762ef657a759198156106c29962 (diff)
Remove ao_radio_cal from stm products without radiosfox1-v3-sn9fox1-v3-sn10
Products without a radio don't need this value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_romconfig.c')
-rw-r--r--src/stm/ao_romconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm/ao_romconfig.c b/src/stm/ao_romconfig.c
index 5da15072..33fe7ba5 100644
--- a/src/stm/ao_romconfig.c
+++ b/src/stm/ao_romconfig.c
@@ -23,5 +23,6 @@ AO_ROMCONFIG_SYMBOL (0) uint16_t ao_serial_number = 0;
#ifndef AO_RADIO_CAL_DEFAULT
#define AO_RADIO_CAL_DEFAULT 0x01020304
#endif
+#if HAS_RADIO
AO_ROMCONFIG_SYMBOL (0) uint32_t ao_radio_cal = AO_RADIO_CAL_DEFAULT;
-
+#endif