this does not go as planned :(
This commit is contained in:
parent
938fbafd9e
commit
43915cb771
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue