MRE pre-sets
This commit is contained in:
parent
7455953a84
commit
845a9994a4
|
@ -13,3 +13,6 @@
|
|||
#define ts_show_tunerstudio_port false
|
||||
#define ts_show_main_relay false
|
||||
#define ts_show_main_relay_microRusEFI_message true
|
||||
|
||||
#define show_test_presets false
|
||||
#define show_Frankenso_presets false
|
||||
|
|
|
@ -682,4 +682,6 @@ void setMiataNB2_MRE_MAP(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
|
||||
void setMiataNB2_MRE_MAF(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
setMiataNB2_MRE_MAP(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
engineConfiguration->fuelAlgorithm = LM_REAL_MAF;
|
||||
}
|
||||
|
|
|
@ -30,8 +30,13 @@ void setMazdaMiata2003EngineConfigurationBoardTest(DECLARE_CONFIG_PARAMETER_SIGN
|
|||
void setMiataNB2_MRE_ETB(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
/**
|
||||
* OEM mechanical throttle body
|
||||
* OEM mechanical throttle body, with MAP
|
||||
* set engine_type 11
|
||||
*/
|
||||
void setMiataNB2_MRE_MAP(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
/**
|
||||
* OEM mechanical throttle body using OEM MAF
|
||||
* set engine_type 15
|
||||
*/
|
||||
void setMiataNB2_MRE_MAF(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
|
|
@ -1586,4 +1586,8 @@ end_struct
|
|||
#define ts_show_can_pins true
|
||||
#define ts_show_tunerstudio_port true
|
||||
#define ts_show_trigger_comparator false
|
||||
#define ts_show_auxserial_pins true
|
||||
#define ts_show_auxserial_pins true
|
||||
|
||||
#define show_test_presets true
|
||||
#define show_Frankenso_presets true
|
||||
#define show_microRusEFI_presets true
|
||||
|
|
|
@ -1526,12 +1526,21 @@ cmd_reset_controller = "w\x00\xbb\x00\x00"
|
|||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
|
||||
|
||||
; MRE_MIATA_NB2_MAP = 11
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAP = "w\x00\x30\x00\x0B"
|
||||
; MRE_MIATA_NB2_MAF = 15
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAF = "w\x00\x30\x00\x0F"
|
||||
|
||||
; MIATA_NA6_MAP = 41
|
||||
cmd_set_engine_type_Miata_NA6_MAP = "w\x00\x30\x00\x29"
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_MAP = "w\x00\x30\x00\x29"
|
||||
; MIATA_NA6_VAF = 57
|
||||
cmd_set_engine_type_Miata_NA6_VAF = "w\x00\x30\x00\x39"
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_VAF = "w\x00\x30\x00\x39"
|
||||
; MAZDA_MIATA_2003 = 47
|
||||
cmd_set_engine_type_Miata_NA2 = "w\x00\x30\x00\x2F"
|
||||
cmd_set_engine_type_Frankenso_Miata_NB2 = "w\x00\x30\x00\x2F"
|
||||
|
||||
|
||||
; ETB_BENCH_ENGINE = 58
|
||||
cmd_set_engine_type_etb_test = "w\x00\x30\x00\x3A"
|
||||
; ETB_BENCH_ENGINE = 59
|
||||
|
@ -2927,11 +2936,15 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
dialog = engineTypeDialog, "Popular vehicles"
|
||||
field = "!These buttons send a command to rusEfi controller to apply preset values"
|
||||
field = "!Once you send the command, please reconnect to rusEfi controller in order to read fresh values"
|
||||
commandButton = "Miata NA6 Stage 0", cmd_set_engine_type_Miata_NA6_VAF
|
||||
commandButton = "Miata NA6 Stage 1", cmd_set_engine_type_Miata_NA6_MAP
|
||||
commandButton = "Miata NB2 MAP", cmd_set_engine_type_Miata_NA2
|
||||
commandButton = "ETB test bench", cmd_set_engine_type_etb_test
|
||||
commandButton = "TLE8888B test bench", cmd_set_engine_type_8888_test
|
||||
commandButton = "Frankenso Miata NA6 Stage 0", cmd_set_engine_type_Frankenso_Miata_NA6_VAF@@if_show_Frankenso_presets
|
||||
commandButton = "Frankenso Miata NA6 Stage 1", cmd_set_engine_type_Frankenso_Miata_NA6_MAP@@if_show_Frankenso_presets
|
||||
commandButton = "Frankenso Miata NB2 MAP", cmd_set_engine_type_Frankenso_Miata_NB2@@if_show_Frankenso_presets
|
||||
|
||||
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 = "ETB test bench", cmd_set_engine_type_etb_test@@if_show_test_presets
|
||||
commandButton = "TLE8888B test bench", cmd_set_engine_type_8888_test@@if_show_test_presets
|
||||
commandButton = "Reset firmware settings", cmd_set_engine_type_default
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue