parent
5935b7969b
commit
fee6bd2ded
|
@ -357,6 +357,9 @@ bit injectorState12
|
||||||
bit triggerChannel1
|
bit triggerChannel1
|
||||||
bit triggerChannel2
|
bit triggerChannel2
|
||||||
bit vvtChannel1
|
bit vvtChannel1
|
||||||
|
bit vvtChannel2
|
||||||
|
bit vvtChannel3
|
||||||
|
bit vvtChannel4
|
||||||
|
|
||||||
uint32_t outputRequestPeriod
|
uint32_t outputRequestPeriod
|
||||||
float mapFast
|
float mapFast
|
||||||
|
|
|
@ -253,6 +253,8 @@ void hwHandleVvtCamSignal(TriggerValue front, efitick_t nowNt, int index) {
|
||||||
|
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
engine->outputChannels.vvtChannel1 = front == TriggerValue::RISE;
|
engine->outputChannels.vvtChannel1 = front == TriggerValue::RISE;
|
||||||
|
} else if (index == 1) {
|
||||||
|
engine->outputChannels.vvtChannel2 = front == TriggerValue::RISE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int bankIndex = index / CAMS_PER_BANK;
|
int bankIndex = index / CAMS_PER_BANK;
|
||||||
|
|
Loading…
Reference in New Issue