would this help?

This commit is contained in:
rusefi 2020-05-22 00:25:48 -04:00
parent 6d3d8a7ac9
commit 1bd4b8b1f1
6 changed files with 14 additions and 4 deletions

View File

@ -586,6 +586,8 @@
#define engineType_offset 0
#define engineType_offset_hex 0
#define ERROR_BUFFER_SIZE 120
#define ET_CITROEN_TU3JP 65
#define ET_MRE_MIATA_NB2_MAF 15
#define ETB_BIAS_CURVE_LENGTH 8
#define ETB_COUNT 2
#define etb_dFactor_offset 1744

View File

@ -68,7 +68,7 @@ typedef enum {
FORD_ESCORT_GT = 14,
MRE_MIATA_NB2_MAF = 15,
MRE_MIATA_NB2_MAF = ET_MRE_MIATA_NB2_MAF,
MITSU_4G93 = 16,
@ -187,7 +187,7 @@ typedef enum {
BMW_M73_PROTEUS = 63,
DODGE_RAM = 64,
CITROEN_TU3JP = 65,
CITROEN_TU3JP = ET_CITROEN_TU3JP,
/**
* this configuration has as few pins configured as possible

View File

@ -586,6 +586,8 @@
#define engineType_offset 0
#define engineType_offset_hex 0
#define ERROR_BUFFER_SIZE 120
#define ET_CITROEN_TU3JP 65
#define ET_MRE_MIATA_NB2_MAF 15
#define ETB_BIAS_CURVE_LENGTH 8
#define ETB_COUNT 2
#define etb_dFactor_offset 1744

View File

@ -1564,6 +1564,9 @@ end_struct
#define PROTOCOL_COIL1_SHORT_NAME "c1"
#define PROTOCOL_INJ1_SHORT_NAME "i1"
#define ET_CITROEN_TU3JP 65
#define ET_MRE_MIATA_NB2_MAF 15
#define GAUGE_NAME_DWELL_DUTY "dwell: coil duty cycle"
#define GAUGE_COIL_DWELL_TIME "dwell: coil charge time"

View File

@ -18,6 +18,7 @@ import java.util.function.Function;
import static com.rusefi.IoUtil.*;
import static com.rusefi.IoUtil.getEnableCommand;
import static com.rusefi.TestingUtils.*;
import static com.rusefi.config.generated.Fields.ET_CITROEN_TU3JP;
import static com.rusefi.config.generated.Fields.MOCK_MAF_COMMAND;
import static com.rusefi.waves.EngineReport.isCloseEnough;
@ -179,7 +180,7 @@ this is just too unreliable at this point :(
}
private static void testCitroenBerlingo() {
setEngineType(65);
setEngineType(ET_CITROEN_TU3JP);
String msg = "Citroen";
IoUtil.changeRpm(1200);
// todo: add more content

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Wed May 20 01:18:09 EDT 2020
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Fri May 22 00:18:18 EDT 2020
// by class com.rusefi.output.FileJavaFieldsConsumer
import com.rusefi.config.*;
@ -388,6 +388,8 @@ public class Fields {
public static final int engineType_offset = 0;
public static final int engineType_offset_hex = 0;
public static final int ERROR_BUFFER_SIZE = 120;
public static final int ET_CITROEN_TU3JP = 65;
public static final int ET_MRE_MIATA_NB2_MAF = 15;
public static final int ETB_BIAS_CURVE_LENGTH = 8;
public static final int ETB_COUNT = 2;
public static final int etb_dFactor_offset = 1744;