Remove ao_radio_cal from stm products without radios fox fox1-v3-sn10 fox1-v3-sn9
authorKeith Packard <keithp@keithp.com>
Sat, 8 Aug 2015 03:16:41 +0000 (20:16 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Aug 2015 03:16:41 +0000 (20:16 -0700)
Products without a radio don't need this value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_romconfig.c

index 5da15072222dc11c6b5cc786d972a6878263b562..33fe7ba5012ef94d7f8a74624db5944ee5c04b86 100644 (file)
@@ -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