From e3600a8f24453f2ba745a3996c785375edefd632 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 14 Sep 2020 00:45:15 -0400 Subject: [PATCH] Engine runs we can disengage the starter #1795 --- firmware/controllers/system/efi_gpio.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/controllers/system/efi_gpio.cpp b/firmware/controllers/system/efi_gpio.cpp index e658297457..3de755c4d3 100644 --- a/firmware/controllers/system/efi_gpio.cpp +++ b/firmware/controllers/system/efi_gpio.cpp @@ -343,6 +343,9 @@ void OutputPin::setValue(int logicValue) { #else if (port != GPIO_NULL) { setPinValue(this, eValue, logicValue); + } else { + // even without physical pin sometimes it's nice to track logic pin value + currentLogicValue = logicValue; } #endif