X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_romconfig.c;h=63a48becd4b05cd17f236252e1e6a53bb4a264de;hb=7b11a34bb031035883bac97952e5ca6db0684e33;hp=5da15072222dc11c6b5cc786d972a6878263b562;hpb=3cbec0292d5167bce5c23eeea95f7a2d13bccc79;p=fw%2Faltos diff --git a/src/stm/ao_romconfig.c b/src/stm/ao_romconfig.c index 5da15072..63a48bec 100644 --- a/src/stm/ao_romconfig.c +++ b/src/stm/ao_romconfig.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,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