From d8a022d1aaec6084faa8f3b78ccdd3668fd6e1bb Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 9 Nov 2020 21:41:13 -0500 Subject: [PATCH] GDI Epic #1448 --- firmware/controllers/system/efi_gpio.cpp | 1 + firmware/controllers/system/efi_gpio.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/system/efi_gpio.cpp b/firmware/controllers/system/efi_gpio.cpp index e275315222..db520898be 100644 --- a/firmware/controllers/system/efi_gpio.cpp +++ b/firmware/controllers/system/efi_gpio.cpp @@ -123,6 +123,7 @@ EnginePins::EnginePins() : hipCs("hipCs", CONFIG_PIN_OFFSETS(hip9011Cs)) { tachOut.name = PROTOCOL_TACH_NAME; + hpfpValve.name = PROTOCOL_HPFP_NAME; static_assert(efi::size(sparkNames) >= IGNITION_PIN_COUNT, "Too many ignition pins"); for (int i = 0; i < IGNITION_PIN_COUNT;i++) { diff --git a/firmware/controllers/system/efi_gpio.h b/firmware/controllers/system/efi_gpio.h index 0a8cb27483..8045df64a7 100644 --- a/firmware/controllers/system/efi_gpio.h +++ b/firmware/controllers/system/efi_gpio.h @@ -163,7 +163,7 @@ public: /** * High Pressure Fuel Pump valve control */ - RegisteredOutputPin hpfpValve; + RegisteredNamedOutputPin hpfpValve; // this one cranks engine RegisteredOutputPin starterControl; // this one prevents driver from cranking engine