auto-sync
This commit is contained in:
parent
f30f1cc11a
commit
188491120c
|
@ -393,8 +393,6 @@ void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfigurat
|
|||
engineConfiguration->canReadEnabled = false;
|
||||
engineConfiguration->canNbcType = CAN_BUS_NBC_BMW;
|
||||
// engineConfiguration->canNbcType = CAN_BUS_MAZDA_RX8;
|
||||
|
||||
setMap(engineConfiguration->injectionPhase, -180);
|
||||
}
|
||||
|
||||
#endif /* EFI_SUPPORT_DODGE_NEON */
|
||||
|
|
|
@ -47,7 +47,7 @@ void setFordInline6(engine_configuration_s *engineConfiguration, board_configura
|
|||
|
||||
engineConfiguration->globalTriggerAngleOffset = 0;
|
||||
engineConfiguration->ignitionBaseAngle = 13;
|
||||
engineConfiguration->injectionAngle = 27.269999;
|
||||
engineConfiguration->injectionAngle = 207.269999;
|
||||
|
||||
setThermistorConfiguration(&engineConfiguration->clt, -10.0, 160310.0, 60.0, 7700.0, 120.0, 1180.0);
|
||||
engineConfiguration->clt.bias_resistor = 2700;
|
||||
|
|
|
@ -101,7 +101,7 @@ void setFordAspireEngineConfiguration(engine_configuration_s *engineConfiguratio
|
|||
engineConfiguration->specs.firingOrder = FO_1_THEN_3_THEN_4_THEN2;
|
||||
engineConfiguration->globalTriggerAngleOffset = 175;
|
||||
engineConfiguration->ignitionBaseAngle = 87;
|
||||
engineConfiguration->injectionAngle = 59 + 175;
|
||||
engineConfiguration->injectionAngle = 54 + 360;
|
||||
|
||||
setDefaultAspireMaps(engineConfiguration);
|
||||
// set_cranking_rpm 550
|
||||
|
|
|
@ -191,7 +191,7 @@ public:
|
|||
Table2D<DWELL_CURVE_SIZE> sparkTable;
|
||||
|
||||
/**
|
||||
* fast MAF decoding lookup table with ~0.2 volt step
|
||||
* fast kg/hour MAF decoding lookup table with ~0.2 volt step
|
||||
* This table is build based on MAF decoding curve
|
||||
*/
|
||||
float mafDecodingLookup[MAF_DECODING_CACHE_SIZE];
|
||||
|
|
|
@ -193,7 +193,7 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
|||
setWholeVEMap(engineConfiguration, 0.8);
|
||||
setMap(engineConfiguration->afrTable, 14.7);
|
||||
|
||||
setMap(engineConfiguration->injectionPhase, 0);
|
||||
setMap(engineConfiguration->injectionPhase, -180);
|
||||
setRpmTableBin(engineConfiguration->injPhaseRpmBins, FUEL_RPM_COUNT);
|
||||
setTableBin2(engineConfiguration->injPhaseLoadBins, FUEL_LOAD_COUNT, 10, 300, 1);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// this section was generated by config_definition.jar on Thu Feb 12 18:38:18 EST 2015
|
||||
// this section was generated by config_definition.jar on Thu Feb 12 22:08:45 EST 2015
|
||||
// begin
|
||||
#include "rusefi_types.h"
|
||||
typedef struct {
|
||||
|
@ -583,7 +583,11 @@ typedef struct {
|
|||
/**
|
||||
* offset 780
|
||||
*/
|
||||
int unusedbs[6];
|
||||
maf_sensor_type_e mafSensorType;
|
||||
/**
|
||||
* offset 784
|
||||
*/
|
||||
int unusedbs[5];
|
||||
/**
|
||||
* offset 804
|
||||
*/
|
||||
|
@ -1160,4 +1164,4 @@ typedef struct {
|
|||
} engine_configuration_s;
|
||||
|
||||
// end
|
||||
// this section was generated by config_definition.jar on Thu Feb 12 18:38:18 EST 2015
|
||||
// this section was generated by config_definition.jar on Thu Feb 12 22:08:45 EST 2015
|
||||
|
|
|
@ -541,6 +541,13 @@ typedef enum {
|
|||
Internal_ForceMyEnumIntSize_analog_chart = ENUM_32_BITS,
|
||||
} analog_chart_e;
|
||||
|
||||
typedef enum {
|
||||
CUSTOM = 0,
|
||||
Bosch0280218037 = 1,
|
||||
Bosch0280218004 = 2,
|
||||
Internal_ForceMyEnumIntSize_maf_sensor = ENUM_32_BITS,
|
||||
} maf_sensor_type_e;
|
||||
|
||||
typedef enum {
|
||||
/**
|
||||
* This is the default mode in which ECU controls timing dynamically
|
||||
|
|
|
@ -50,3 +50,7 @@ void setBosch0280218037(engine_configuration_s *engineConfiguration) {
|
|||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
void setBosch0280218004(engine_configuration_s *engineConfiguration) {
|
||||
|
||||
}
|
||||
|
|
|
@ -19,5 +19,6 @@ float getMaf(void);
|
|||
float getRealMaf(DECLARE_ENGINE_PARAMETER_F);
|
||||
|
||||
void setBosch0280218037(engine_configuration_s *engineConfiguration);
|
||||
void setBosch0280218004(engine_configuration_s *engineConfiguration);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -385,7 +385,8 @@ custom fsio_setting_t 4 scalar, F32, @OFFSET@, "Val", 1, 0, 0,
|
|||
|
||||
custom analog_chart_e 4 bits, S32, @OFFSET@, [0:1], "none", "trigger", "MAP", "INVALID"
|
||||
analog_chart_e analogChartMode;
|
||||
int[6] unusedbs;
|
||||
maf_sensor_type_e mafSensorType;
|
||||
int[5] unusedbs;
|
||||
|
||||
custom le_formula_t 200 array, U08, @OFFSET@, [200],"char", 1, 0, 0.0, 3.0, 2
|
||||
le_formula_t[LE_COMMAND_COUNT iterate] le_formulas;
|
||||
|
|
|
@ -48,8 +48,8 @@ public class AutoTest {
|
|||
x = 121;
|
||||
assertWave(msg, chart, WaveChart.SPARK_1, 0.13333333333333333, x, x + 180, x + 360, x + 540);
|
||||
x = 135;
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_1, 0.11733333333333336, x, x + 360);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_2, 0.11733333333333336, x + 180, x + 540);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_1, 0.11733333333333336, x + 180, x + 540);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_2, 0.11733333333333336, x, x + 360);
|
||||
}
|
||||
|
||||
private static void test1995DodgeNeon() {
|
||||
|
@ -61,9 +61,9 @@ public class AutoTest {
|
|||
chart = nextChart();
|
||||
|
||||
String msg = "1995 Neon";
|
||||
float x = 110;
|
||||
float x = -70;
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_4, 0.133, x + 540);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_2, 0.133, x);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_2, 0.133, x + 720);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_1, 0.133, x + 180);
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_3, 0.133, x + 360);
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class AutoTest {
|
|||
sendCommand("set_mock_map_voltage 1");
|
||||
sendCommand("set_algorithm 3");
|
||||
chart = nextChart();
|
||||
x = 110;
|
||||
x = -70;
|
||||
assertWaveFall(msg, chart, WaveChart.INJECTOR_4, 0.463, x + 540);
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,7 @@ public class AutoTest {
|
|||
assertNull("chart for " + WaveChart.SPARK_2, chart.get(WaveChart.SPARK_2));
|
||||
|
||||
sendCommand("set_global_trigger_offset_angle 130");
|
||||
sendCommand("set_injection_offset 189");
|
||||
sendCommand("set_injection_offset 369");
|
||||
chart = nextChart();
|
||||
x = 580;
|
||||
assertWave(chart, WaveChart.SPARK_1, 0.133, x, x + 180, x + 360, x + 540);
|
||||
|
|
Loading…
Reference in New Issue