mirror of https://github.com/rusefi/rusefi-1.git
HW CI CRITICAL error: Invalid airmass mode #1690
This commit is contained in:
parent
3514f927ed
commit
2bd7d094be
|
@ -182,7 +182,13 @@ AirmassModelBase* getAirmassModel(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
#if EFI_UNIT_TEST
|
#if EFI_UNIT_TEST
|
||||||
case LM_MOCK: return engine->mockAirmassModel;
|
case LM_MOCK: return engine->mockAirmassModel;
|
||||||
#endif
|
#endif
|
||||||
default: return nullptr;
|
default:
|
||||||
|
// this is a bad work-around for https://github.com/rusefi/rusefi/issues/1690 issue
|
||||||
|
warning(CUSTOM_ERR_ASSERT, "Invalid airmass mode %d", CONFIG(fuelAlgorithm));
|
||||||
|
return &sdAirmass;
|
||||||
|
/* todo: this should be the implementation
|
||||||
|
return nullptr;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue