auto-sync

This commit is contained in:
rusEfi 2015-01-23 13:07:33 -06:00
parent dc2a3c0110
commit 97d7a7af22
4 changed files with 46 additions and 8 deletions

View File

@ -87,13 +87,6 @@ typedef enum {
Internal_ForceMyEnumIntSize_can_device_mode = ENUM_32_BITS,
} 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

View File

@ -154,3 +154,27 @@ typedef struct {
/** total size 28*/
} 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;

View File

@ -262,5 +262,5 @@ int getRusEfiVersion(void) {
return 1; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE == 0)
return 1; // this is here to make the compiler happy about the unused array
return 20150121;
return 20150123;
}

View File

@ -200,6 +200,27 @@ float globalFuelCorrection;
adc_channel_e iatAdcChannel;
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"
!analog_chart_e analogChartMode;