From a9d669ba833389df743929990c143c2d52694152 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 3 Oct 2020 20:53:23 -0400 Subject: [PATCH] HW CI has failed 11 times since Oct 2 #1849 --- firmware/controllers/system/efi_gpio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/system/efi_gpio.cpp b/firmware/controllers/system/efi_gpio.cpp index 447c430c04..0c0b20a7fc 100644 --- a/firmware/controllers/system/efi_gpio.cpp +++ b/firmware/controllers/system/efi_gpio.cpp @@ -358,12 +358,14 @@ bool OutputPin::getAndSet(int logicValue) { } void OutputPin::setOnchipValue(int electricalValue, int logicValue) { +#if EFI_PROD_CODE if (port != GPIO_NULL) { setPinValue(this, electricalValue, logicValue); } else { // even without physical pin sometimes it's nice to track logic pin value currentLogicValue = logicValue; } +#endif // EFI_PROD_CODE } void OutputPin::setValue(int logicValue) {