only:proteus_f7
This commit is contained in:
rusefillc 2023-04-22 08:32:30 -04:00
parent 5935b7969b
commit fee6bd2ded
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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;