From 0c948f6448796d5ecef58ed99c6c74c9c8b24b31 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 20 Feb 2023 23:43:58 -0500 Subject: [PATCH] yes, this thing works nicely --- firmware/controllers/system/efi_gpio.cpp | 12 ++++++++++++ firmware/controllers/system/injection_gpio.cpp | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/firmware/controllers/system/efi_gpio.cpp b/firmware/controllers/system/efi_gpio.cpp index 63764cf302..c4fbcb545b 100644 --- a/firmware/controllers/system/efi_gpio.cpp +++ b/firmware/controllers/system/efi_gpio.cpp @@ -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; } } diff --git a/firmware/controllers/system/injection_gpio.cpp b/firmware/controllers/system/injection_gpio.cpp index 205e330a72..7d8edf1711 100644 --- a/firmware/controllers/system/injection_gpio.cpp +++ b/firmware/controllers/system/injection_gpio.cpp @@ -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; } }