summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-08-07 20:16:41 -0700
committerKeith Packard <keithp@keithp.com>2018-04-26 19:33:48 -0700
commit8025b98420f16730e5e6e45114cbdbbf88f7a748 (patch)
tree252f1c6e26fe21ecf4a17a6b5286a5f943c3dcca /src
parentc408c773793b5a5685d95c11ba6f710200505c25 (diff)
Remove ao_radio_cal from stm products without radios
Products without a radio don't need this value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-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 9d5fd6fb..63a48bec 100644
--- a/src/stm/ao_romconfig.c
+++ b/src/stm/ao_romconfig.c
@@ -24,5 +24,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