Struct: designator initialization

This commit is contained in:
Andrey Gusakov 2024-04-29 11:23:04 +03:00 committed by rusefillc
parent e2955fcb34
commit 0ce04c84cc
1 changed files with 4 additions and 3 deletions

View File

@ -218,9 +218,10 @@ int getInternalAdcValue(const char *msg, adc_channel_e hwChannel) {
#if EFI_USE_FAST_ADC
static GPTConfig fast_adc_config = {
GPT_FREQ_FAST,
fast_adc_callback,
0, 0
.frequency = GPT_FREQ_FAST,
.callback = fast_adc_callback,
.cr2 = 0,
.dier = 0,
};
#endif /* EFI_USE_FAST_ADC */