projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c408c77
)
Remove ao_radio_cal from stm products without radios
author
Keith Packard
<keithp@keithp.com>
Sat, 8 Aug 2015 03:16:41 +0000
(20:16 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 27 Apr 2018 02:33:48 +0000
(19:33 -0700)
Products without a radio don't need this value.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_romconfig.c
patch
|
blob
|
history
diff --git
a/src/stm/ao_romconfig.c
b/src/stm/ao_romconfig.c
index 9d5fd6fb8616391d0a0c1b348e2d83c83283d120..63a48becd4b05cd17f236252e1e6a53bb4a264de 100644
(file)
--- 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