This commit is contained in:
parent
b86acb727c
commit
ad7a9c6873
|
@ -10,6 +10,7 @@ import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import static com.devexperts.logging.Logging.getLogging;
|
import static com.devexperts.logging.Logging.getLogging;
|
||||||
|
import static com.rusefi.config.generated.TriggerMeta.IGNITION_OUTPUT;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Andrey Belomutskiy, (c) 2012-2016
|
* Andrey Belomutskiy, (c) 2012-2016
|
||||||
|
@ -101,7 +102,7 @@ public class FiringOrderTSLogic {
|
||||||
String result = logic.length() == 0 ? "" : "|| (" + logic + ")";
|
String result = logic.length() == 0 ? "" : "|| (" + logic + ")";
|
||||||
|
|
||||||
//String output = "#define ignitionPin" + cylinderId + "logic" + " " + result + "";
|
//String output = "#define ignitionPin" + cylinderId + "logic" + " " + result + "";
|
||||||
String output = "\t\tfield = \"Ignition Pin " + cylinderId +
|
String output = "\t\tfield = \"" + IGNITION_OUTPUT + " " + cylinderId +
|
||||||
"\", ignitionPins" + cylinderId +
|
"\", ignitionPins" + cylinderId +
|
||||||
", {isIgnitionEnabled == 1 && (ignitionMode != 0 && cylindersCount >= " + cylinderId + ") && (ignitionMode !=2 || twoWireBatchIgnition == 1 " + result + ")}";
|
", {isIgnitionEnabled == 1 && (ignitionMode != 0 && cylindersCount >= " + cylinderId + ") && (ignitionMode !=2 || twoWireBatchIgnition == 1 " + result + ")}";
|
||||||
System.out.println(output);
|
System.out.println(output);
|
||||||
|
|
Loading…
Reference in New Issue