mirror of https://github.com/FOME-Tech/fome-fw.git
ignore invalid diag result when checking ign/inj (#4419)
* ignore invalid pins * ign too
This commit is contained in:
parent
bcdde272de
commit
770f0c6637
|
@ -181,7 +181,7 @@ void SensorChecker::onSlowCallback() {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto diag = pin.getDiag();
|
auto diag = pin.getDiag();
|
||||||
if (diag != PIN_OK) {
|
if (diag != PIN_OK && diag != PIN_INVALID) {
|
||||||
auto code = getCodeForInjector(i + 1, diag);
|
auto code = getCodeForInjector(i + 1, diag);
|
||||||
|
|
||||||
char description[32];
|
char description[32];
|
||||||
|
@ -200,7 +200,7 @@ void SensorChecker::onSlowCallback() {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto diag = pin.getDiag();
|
auto diag = pin.getDiag();
|
||||||
if (diag != PIN_OK) {
|
if (diag != PIN_OK && diag != PIN_INVALID) {
|
||||||
auto code = getCodeForIgnition(i + 1, diag);
|
auto code = getCodeForIgnition(i + 1, diag);
|
||||||
|
|
||||||
char description[32];
|
char description[32];
|
||||||
|
|
Loading…
Reference in New Issue