diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index 98d53c5e9b..f81e30f5ff 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -357,6 +357,9 @@ bit injectorState12 bit triggerChannel1 bit triggerChannel2 bit vvtChannel1 +bit vvtChannel2 +bit vvtChannel3 +bit vvtChannel4 uint32_t outputRequestPeriod float mapFast diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 740c88af31..50c8dc428b 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -253,6 +253,8 @@ void hwHandleVvtCamSignal(TriggerValue front, efitick_t nowNt, int index) { if (index == 0) { engine->outputChannels.vvtChannel1 = front == TriggerValue::RISE; + } else if (index == 1) { + engine->outputChannels.vvtChannel2 = front == TriggerValue::RISE; } int bankIndex = index / CAMS_PER_BANK;