mirror of https://github.com/rusefi/rusefi-1.git
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
This commit is contained in:
parent
aadccbdbdf
commit
247fd38f1a
|
@ -43,6 +43,7 @@ public class TriggerImage {
|
|||
private static int sleepAtEnd;
|
||||
private static int onlyOneTrigger = -1;
|
||||
|
||||
// todo: https://github.com/rusefi/rusefi/issues/2077
|
||||
private static String getTriggerName(TriggerWheelInfo triggerName) {
|
||||
switch (triggerName.id) {
|
||||
case Fields.TT_TT_FORD_ASPIRE:
|
||||
|
|
|
@ -93,6 +93,7 @@ class TriggerWheelInfo {
|
|||
|
||||
// todo: this 'isFirstCrankBased' should be taken from triggers.txt not hard-coded here!
|
||||
// todo: open question if current firmware even has info to provide this info or not?
|
||||
// todo: https://github.com/rusefi/rusefi/issues/2077
|
||||
private boolean isFirstCrankBased() {
|
||||
return id == Fields.TT_TT_GM_LS_24 ||
|
||||
id == Fields.TT_TT_HONDA_K_12_1 ||
|
||||
|
@ -104,6 +105,7 @@ class TriggerWheelInfo {
|
|||
|
||||
// todo: this 'isFirstCrankBased' should be taken from triggers.txt not hard-coded here!
|
||||
// todo: open question if current firmware even has info to provide this info or not?
|
||||
// todo: https://github.com/rusefi/rusefi/issues/2077
|
||||
private boolean isSecondCamBased() {
|
||||
return id == Fields.TT_TT_MAZDA_MIATA_NA ||
|
||||
id == Fields.TT_TT_MAZDA_DOHC_1_4 ||
|
||||
|
|
Loading…
Reference in New Issue