yes, this thing works nicely

This commit is contained in:
Andrey 2023-02-20 23:43:58 -05:00
parent 9d41bc7d56
commit 0c948f6448
2 changed files with 24 additions and 0 deletions

View File

@ -391,6 +391,12 @@ void IgnitionOutputPin::setHigh() {
case 3:
engine->outputChannels.coilState4 = true;
break;
case 4:
engine->outputChannels.coilState5 = true;
break;
case 5:
engine->outputChannels.coilState6 = true;
break;
}
}
@ -410,6 +416,12 @@ void IgnitionOutputPin::setLow() {
case 3:
engine->outputChannels.coilState4 = false;
break;
case 4:
engine->outputChannels.coilState5 = false;
break;
case 5:
engine->outputChannels.coilState6 = false;
break;
}
}

View File

@ -105,6 +105,12 @@ void InjectorOutputPin::setHigh() {
case 3:
state->injectorState4 = true;
break;
case 4:
state->injectorState5 = true;
break;
case 5:
state->injectorState6 = true;
break;
}
}
@ -125,6 +131,12 @@ void InjectorOutputPin::setLow() {
case 3:
state->injectorState4 = false;
break;
case 4:
state->injectorState5 = false;
break;
case 5:
state->injectorState6 = false;
break;
}
}