auto-sync
This commit is contained in:
parent
e650a80fe1
commit
338acdecbf
|
@ -87,13 +87,6 @@ typedef enum {
|
||||||
Internal_ForceMyEnumIntSize_can_device_mode = ENUM_32_BITS,
|
Internal_ForceMyEnumIntSize_can_device_mode = ENUM_32_BITS,
|
||||||
} can_device_mode_e;
|
} can_device_mode_e;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
adc_channel_e afrAdcChannel;
|
|
||||||
float v1;
|
|
||||||
float value1;
|
|
||||||
float v2;
|
|
||||||
float value2;
|
|
||||||
} afr_sensor_s;
|
|
||||||
|
|
||||||
#define DWELL_COUNT 8
|
#define DWELL_COUNT 8
|
||||||
|
|
||||||
|
|
|
@ -154,3 +154,27 @@ typedef struct {
|
||||||
/** total size 28*/
|
/** total size 28*/
|
||||||
} trigger_config_s;
|
} trigger_config_s;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
/**
|
||||||
|
* offset 0
|
||||||
|
*/
|
||||||
|
adc_channel_e afrAdcChannel;
|
||||||
|
/**
|
||||||
|
* offset 4
|
||||||
|
*/
|
||||||
|
float v1;
|
||||||
|
/**
|
||||||
|
* offset 8
|
||||||
|
*/
|
||||||
|
float value1;
|
||||||
|
/**
|
||||||
|
* offset 12
|
||||||
|
*/
|
||||||
|
float v2;
|
||||||
|
/**
|
||||||
|
* offset 16
|
||||||
|
*/
|
||||||
|
float value2;
|
||||||
|
/** total size 20*/
|
||||||
|
} afr_sensor_s;
|
||||||
|
|
||||||
|
|
|
@ -262,5 +262,5 @@ int getRusEfiVersion(void) {
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE == 0)
|
if (UNUSED_CCM_SIZE == 0)
|
||||||
return 1; // this is here to make the compiler happy about the unused array
|
return 1; // this is here to make the compiler happy about the unused array
|
||||||
return 20150121;
|
return 20150123;
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,6 +200,27 @@ float globalFuelCorrection;
|
||||||
adc_channel_e iatAdcChannel;
|
adc_channel_e iatAdcChannel;
|
||||||
adc_channel_e mafAdcChannel;
|
adc_channel_e mafAdcChannel;
|
||||||
|
|
||||||
|
struct afr_sensor_s
|
||||||
|
adc_channel_e afrAdcChannel;
|
||||||
|
float v1;
|
||||||
|
float value1;
|
||||||
|
float v2;
|
||||||
|
float value2;
|
||||||
|
|
||||||
|
end_struct
|
||||||
|
|
||||||
|
afr_sensor_s afrSensor;@see hasAfrSensor
|
||||||
|
float injectionAngle;this is about deciding when the injector starts it's squirt
|
||||||
|
float crankingTimingAngle;
|
||||||
|
|
||||||
|
float diffLoadEnrichmentCoef;
|
||||||
|
|
||||||
|
air_pressure_sensor_config_s baroSensor;@see hasBaroSensor
|
||||||
|
float[FUEL_LOAD_COUNT] veLoadBins;
|
||||||
|
float[FUEL_RPM_COUNT] veRpmBins;
|
||||||
|
float[FUEL_LOAD_COUNT] afrLoadBins;
|
||||||
|
float[FUEL_RPM_COUNT] afrRpmBins;
|
||||||
|
|
||||||
|
|
||||||
!bits analog_chart_e S32 [0:1], "none", "trigger", "MAP", "INVALID"
|
!bits analog_chart_e S32 [0:1], "none", "trigger", "MAP", "INVALID"
|
||||||
!analog_chart_e analogChartMode;
|
!analog_chart_e analogChartMode;
|
||||||
|
|
Loading…
Reference in New Issue