mirror of https://github.com/rusefi/rusefi-1.git
partial rollback
This commit is contained in:
parent
fc28692258
commit
1686180716
|
@ -60,7 +60,8 @@ float getEngineLoadT(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
switch (engineConfiguration->fuelAlgorithm) {
|
switch (engineConfiguration->fuelAlgorithm) {
|
||||||
case LM_PLAIN_MAF:
|
case LM_PLAIN_MAF:
|
||||||
if (!hasMafSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
if (!hasMafSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) {
|
||||||
firmwareError(CUSTOM_MAF_NEEDED, "MAF sensor needed for current fuel algorithm");
|
// todo: make this not happen during hardware CI
|
||||||
|
warning(CUSTOM_MAF_NEEDED, "MAF sensor needed for current fuel algorithm");
|
||||||
return NAN;
|
return NAN;
|
||||||
}
|
}
|
||||||
return getMafVoltage(PASS_ENGINE_PARAMETER_SIGNATURE);
|
return getMafVoltage(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
Loading…
Reference in New Issue