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) {