yes, this thing works nicely
This commit is contained in:
parent
9d41bc7d56
commit
0c948f6448
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue