this does not go as planned :(

This commit is contained in:
rusefi 2020-08-31 08:15:05 -04:00
parent 938fbafd9e
commit 43915cb771
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ void configureOilPressure(LinearFunc& func, const oil_pressure_config_s& cfg) {
func.configure(cfg.v1, val1, cfg.v2, val2, /*minOutput*/ -5, greaterOutput); func.configure(cfg.v1, val1, cfg.v2, val2, /*minOutput*/ -5, greaterOutput);
} }
void initOilPressure(DECLARE_ENGINE_PARAMETER_SIGNATURE) { void initOilPressure(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
// Only register if we have a sensor // Only register if we have a sensor
auto channel = CONFIG(oilPressure.hwChannel); auto channel = CONFIG(oilPressure.hwChannel);
if (channel == EFI_ADC_NONE) { if (channel == EFI_ADC_NONE) {