better QC procedure

This commit is contained in:
rusefi 2020-09-19 04:57:07 -04:00
parent 1657e499ce
commit 96ec6ef9ac
1 changed files with 2 additions and 0 deletions

View File

@ -365,9 +365,11 @@ void initRpmCalculator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
INJECT_ENGINE_REFERENCE(&ENGINE(rpmCalculator));
logger = sharedLogger;
#if ! HW_CHECK_MODE
if (hasFirmwareError()) {
return;
}
#endif // HW_CHECK_MODE
// Only register if not configured to read RPM over OBD2
if (!CONFIG(consumeObdSensors)) {