diff --git a/firmware/hw_layer/adc/adc_inputs.cpp b/firmware/hw_layer/adc/adc_inputs.cpp index d8edbe98c5..fa7fb440a1 100644 --- a/firmware/hw_layer/adc/adc_inputs.cpp +++ b/firmware/hw_layer/adc/adc_inputs.cpp @@ -308,9 +308,6 @@ void removeFastAdcChannel(const char *name, adc_channel_e setting) { adcHwChannelEnabled[setting] = AdcChannelMode::Off; } -// Weak link a stub so that every board doesn't have to implement this function -__attribute__((weak)) void setAdcChannelOverrides() { } - void initAdcInputs() { efiPrintf("initAdcInputs()"); @@ -318,8 +315,6 @@ void initAdcInputs() { addFastAdcChannel("MAP", engineConfiguration->map.sensor.hwChannel); - setAdcChannelOverrides(); - #if EFI_INTERNAL_ADC portInitAdc(); diff --git a/firmware/hw_layer/ports/chconf_common.h b/firmware/hw_layer/ports/chconf_common.h index 2e32e5df26..bc25374cc0 100644 --- a/firmware/hw_layer/ports/chconf_common.h +++ b/firmware/hw_layer/ports/chconf_common.h @@ -35,7 +35,6 @@ extern "C" { #endif void boardInit(void); void setPinConfigurationOverrides(void); - void setAdcChannelOverrides(void); #ifdef __cplusplus } #endif