X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Fao_arch.h;h=8256ebaad1baef01a537552863d99a2e9c2ca3f9;hb=54dd2a6e3a05b940d9daebb3d73f6876c182b3e7;hp=15642951308e7c664f0decedcc8971698bb2cd19;hpb=c6e57291d91f1f6c4de5c54a5cfd3eef66d9f830;p=fw%2Faltos diff --git a/src/stmf0/ao_arch.h b/src/stmf0/ao_arch.h index 15642951..8256ebaa 100644 --- a/src/stmf0/ao_arch.h +++ b/src/stmf0/ao_arch.h @@ -58,9 +58,7 @@ * ao_romconfig.c */ -#define AO_ROMCONFIG_VERSION 2 - -#define AO_ROMCONFIG_SYMBOL(a) __attribute__((section(".romconfig"))) const +#define AO_ROMCONFIG_SYMBOL __attribute__((section(".romconfig"))) const extern const uint16_t ao_romconfig_version; extern const uint16_t ao_romconfig_check; @@ -129,7 +127,7 @@ void ao_lcd_font_string(char *s); extern const uint32_t ao_radio_cal; void -ao_adc_init(); +ao_adc_init(void); /* ADC maximum reported value */ #define AO_ADC_MAX 4095