MRE defaults command

This commit is contained in:
rusefi 2020-06-30 21:29:47 -04:00
parent ea93955c9e
commit d275677b1c
3 changed files with 5 additions and 1 deletions

View File

@ -178,7 +178,7 @@ typedef enum {
TLE8888_BENCH_ENGINE = 59,
MICRO_RUS_EFI = 60,
MICRO_RUS_EFI = ET_MRE_DEFAULTS,
PROTEUS = 61,

View File

@ -1551,6 +1551,8 @@ cmd_set_engine_type_microRusEFI_Miata_NA6 = "w\x00\x30@@ET_MRE_MIATA_NA6_16_he
; MRE_MIATA_NB2_MAF = 15
cmd_set_engine_type_microRusEFI_Miata_NB2_MAF = "w\x00\x30@@ET_MRE_MIATA_NB2_MAF_16_hex@@"
cmd_set_engine_type_microRusEFI_Defaults = "w\x00\x30@@ET_MRE_DEFAULTS_16_hex@@"
; MIATA_NA6_MAP = 41
cmd_set_engine_type_Frankenso_Miata_NA6_MAP = "w\x00\x30@@ET_FRANKENSO_MIATA_NA6_16_hex@@"
; MIATA_NA6_VAF = 57
@ -2999,6 +3001,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
commandButton = "microRusEfi Miata NB2 MAP", cmd_set_engine_type_microRusEFI_Miata_NB2_MAP@@if_show_microRusEFI_presets
commandButton = "microRusEFI Miata NB2 MAF", cmd_set_engine_type_microRusEFI_Miata_NB2_MAF@@if_show_microRusEFI_presets
commandButton = "microRusEFI Defaults", cmd_set_engine_type_microRusEFI_Defaults@@if_show_microRusEFI_presets
commandButton = "Proteus M73 v12", cmd_set_engine_type_Proteus_M73@@if_show_Proteus_presets

View File

@ -27,6 +27,7 @@ public class PresetsPane {
content.add(new SetEngineTypeCommandControl(uiContext, "Frankenso Miata NB2", "/engines/miata_nb.png", Fields.ET_FRANKENSO_MIATA_NB2).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "MRE Miata NB2 MAP", "engines/miata_nb.png", Fields.ET_MRE_MIATA_NB2_MAP).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "MRE Miata NB2 MAF", "engines/miata_nb.png", Fields.ET_MRE_MIATA_NB2_MAF).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "MRE Miata Defaults", "", Fields.ET_MRE_DEFAULTS).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "Frankenso V12", "/engines/v12", TEST_V_12).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "ETB bench", "", ETB_BENCH).getContent());
content.add(new SetEngineTypeCommandControl(uiContext, "Minimal", "", MINIMAL_PINS).getContent());