better QC procedure
This commit is contained in:
parent
1657e499ce
commit
96ec6ef9ac
|
@ -365,9 +365,11 @@ void initRpmCalculator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
INJECT_ENGINE_REFERENCE(&ENGINE(rpmCalculator));
|
INJECT_ENGINE_REFERENCE(&ENGINE(rpmCalculator));
|
||||||
|
|
||||||
logger = sharedLogger;
|
logger = sharedLogger;
|
||||||
|
#if ! HW_CHECK_MODE
|
||||||
if (hasFirmwareError()) {
|
if (hasFirmwareError()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif // HW_CHECK_MODE
|
||||||
|
|
||||||
// Only register if not configured to read RPM over OBD2
|
// Only register if not configured to read RPM over OBD2
|
||||||
if (!CONFIG(consumeObdSensors)) {
|
if (!CONFIG(consumeObdSensors)) {
|
||||||
|
|
Loading…
Reference in New Issue