diff --git a/java_tools/configuration_definition/src/main/java/com/rusefi/FiringOrderTSLogic.java b/java_tools/configuration_definition/src/main/java/com/rusefi/FiringOrderTSLogic.java index 4c61526e55..c466966f8d 100644 --- a/java_tools/configuration_definition/src/main/java/com/rusefi/FiringOrderTSLogic.java +++ b/java_tools/configuration_definition/src/main/java/com/rusefi/FiringOrderTSLogic.java @@ -10,6 +10,7 @@ import java.util.HashMap; import java.util.Map; import static com.devexperts.logging.Logging.getLogging; +import static com.rusefi.config.generated.TriggerMeta.IGNITION_OUTPUT; /** * Andrey Belomutskiy, (c) 2012-2016 @@ -101,7 +102,7 @@ public class FiringOrderTSLogic { String result = logic.length() == 0 ? "" : "|| (" + logic + ")"; //String output = "#define ignitionPin" + cylinderId + "logic" + " " + result + ""; - String output = "\t\tfield = \"Ignition Pin " + cylinderId + + String output = "\t\tfield = \"" + IGNITION_OUTPUT + " " + cylinderId + "\", ignitionPins" + cylinderId + ", {isIgnitionEnabled == 1 && (ignitionMode != 0 && cylindersCount >= " + cylinderId + ") && (ignitionMode !=2 || twoWireBatchIgnition == 1 " + result + ")}"; System.out.println(output);