auto-sync
This commit is contained in:
parent
700c291b0b
commit
1c05b8e23b
|
@ -48,7 +48,7 @@ void setSachs(engine_configuration_s *engineConfiguration) {
|
||||||
// Frankenstein analog input #11: PC4 adc14
|
// Frankenstein analog input #11: PC4 adc14
|
||||||
// Frankenstein analog input #12: PC5 adc15
|
// Frankenstein analog input #12: PC5 adc15
|
||||||
|
|
||||||
engineConfiguration->tpsAdcChannel = EFI_ADC_1;
|
engineConfiguration->tpsAdcChannel = EFI_ADC_3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TPS 0% 0.9v
|
* TPS 0% 0.9v
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
java -jar ../java_tools/ConfigDefinition.jar .
|
java -jar ../java_tools/ConfigDefinition.jar . controllers\algo
|
|
@ -173,9 +173,9 @@ display_mode_e displayMode;
|
||||||
|
|
||||||
custom log_format_e 4 bits, U32, %OFFSET%, [0:0], "native", "Mega Log Viewer"
|
custom log_format_e 4 bits, U32, %OFFSET%, [0:0], "native", "Mega Log Viewer"
|
||||||
log_format_e logFormat;
|
log_format_e logFormat;
|
||||||
int firmwareVersion;"index", 1, 0, 0, 300, 0
|
int firmwareVersion;;"index", 1, 0, 0, 300, 0
|
||||||
int HD44780width;"index", 1, 0, 0, 300, 0
|
int HD44780width;;"index", 1, 0, 0, 300, 0
|
||||||
int HD44780height;"index", 1, 0, 0, 300, 0
|
int HD44780height;;"index", 1, 0, 0, 300, 0
|
||||||
|
|
||||||
adc_channel_e tpsAdcChannel;
|
adc_channel_e tpsAdcChannel;
|
||||||
int overrideCrankingIgnition;
|
int overrideCrankingIgnition;
|
||||||
|
@ -393,7 +393,7 @@ le_formula_t[LE_COMMAND_COUNT] le_formulas;
|
||||||
end_struct
|
end_struct
|
||||||
|
|
||||||
board_configuration_s bc;
|
board_configuration_s bc;
|
||||||
bit hasMapSensor
|
bit hasMapSensor;@see isMapAveragingEnabled
|
||||||
bit hasIatSensor
|
bit hasIatSensor
|
||||||
bit hasBaroSensor
|
bit hasBaroSensor
|
||||||
bit hasAfrSensor
|
bit hasAfrSensor
|
||||||
|
@ -426,6 +426,8 @@ bit hasMapSensor
|
||||||
bit isWaveAnalyzerEnabled
|
bit isWaveAnalyzerEnabled
|
||||||
bit isIdleThreadEnabled
|
bit isIdleThreadEnabled
|
||||||
bit isPrintTriggerSynchDetails
|
bit isPrintTriggerSynchDetails
|
||||||
|
bit isManualSpinningMode;Usually if we have no trigger events that means engine is stopped\nUnless we are troubleshooting and spinning the engine by hand - this case a longer\ndelay is needed
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
uint32_t digitalChartSize;
|
uint32_t digitalChartSize;
|
||||||
|
|
|
@ -534,7 +534,7 @@ fileVersion = { 20150112 }
|
||||||
table = fuelTableTbl, fuelTableMap, "Fuel Table", 1
|
table = fuelTableTbl, fuelTableMap, "Fuel Table", 1
|
||||||
; constant, variable
|
; constant, variable
|
||||||
xBins = fuelRpmBins, rpm
|
xBins = fuelRpmBins, rpm
|
||||||
yBins = fuelKeyBins, engineLoad
|
yBins = fuelLoadBins, engineLoad
|
||||||
zBins = fuelTable
|
zBins = fuelTable
|
||||||
; gridHeight = 2.0
|
; gridHeight = 2.0
|
||||||
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
|
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
|
||||||
|
@ -543,7 +543,7 @@ fileVersion = { 20150112 }
|
||||||
table = ignitionTableTbl, ignitionTableMap, "Ignition Table", 1
|
table = ignitionTableTbl, ignitionTableMap, "Ignition Table", 1
|
||||||
; constant, variable
|
; constant, variable
|
||||||
xBins = ignitionRpmBins, rpm
|
xBins = ignitionRpmBins, rpm
|
||||||
yBins = ignitionKeyBins, engineLoad
|
yBins = ignitionLoadBins, engineLoad
|
||||||
zBins = ignitionTable
|
zBins = ignitionTable
|
||||||
; gridHeight = 2.0
|
; gridHeight = 2.0
|
||||||
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
|
gridOrient = 250, 0, 340 ; Space 123 rotation of grid in degrees.
|
||||||
|
@ -619,7 +619,7 @@ fileVersion = { 20150112 }
|
||||||
|
|
||||||
; = expression, off-label, on-label, off-bg, off-fg, on-bg, on-fg
|
; = expression, off-label, on-label, off-bg, off-fg, on-bg, on-fg
|
||||||
; important status
|
; important status
|
||||||
indicator = { firmwareTsVersion == fileVersion }, "NOT COMPATIBLE", "", red, black, green, black
|
indicator = { firmwareTsVersion == fileVersion }, "NOT COMPATIBLE", "OK", red, black, green, black
|
||||||
indicator = { ind_check_engine }, "ok", "Check engine", green, black, red, black
|
indicator = { ind_check_engine }, "ok", "Check engine", green, black, red, black
|
||||||
indicator = { ind_ignition_enabled}, "no ignition", "ignition", red, black, green, black
|
indicator = { ind_ignition_enabled}, "no ignition", "ignition", red, black, green, black
|
||||||
indicator = { ind_injection_enabled}, "no injection", "injection", red, black, green, black
|
indicator = { ind_injection_enabled}, "no injection", "injection", red, black, green, black
|
||||||
|
@ -737,7 +737,7 @@ fileVersion = { 20150112 }
|
||||||
; Engine->Trigger configuration
|
; Engine->Trigger configuration
|
||||||
dialog = triggerConfiguration, "Trigger configuration"
|
dialog = triggerConfiguration, "Trigger configuration"
|
||||||
field = "Trigger type", trigger_type
|
field = "Trigger type", trigger_type
|
||||||
field = "globalTriggerOffsetAngle", globalTriggerOffsetAngle
|
field = "globalTriggerAngleOffset", globalTriggerAngleOffset
|
||||||
field = "#Custom Trigger"
|
field = "#Custom Trigger"
|
||||||
field = "Synchronization Needed?", isSynchronizationNeeded, {trigger_type == 0}
|
field = "Synchronization Needed?", isSynchronizationNeeded, {trigger_type == 0}
|
||||||
field = "total Tooth Count", totalToothCount, {trigger_type == 0}
|
field = "total Tooth Count", totalToothCount, {trigger_type == 0}
|
||||||
|
@ -807,7 +807,7 @@ fileVersion = { 20150112 }
|
||||||
|
|
||||||
; Engine->MAP Sensor Settings
|
; Engine->MAP Sensor Settings
|
||||||
dialog = mapSensor, "Sensor Settings", xAxis
|
dialog = mapSensor, "Sensor Settings", xAxis
|
||||||
field = "Map type", mapSensorType
|
field = "Map type", map_sensor_type
|
||||||
field = "MAP at minimum voltage", map_sensor_valueAt0, { map_sensor_type == 0}
|
field = "MAP at minimum voltage", map_sensor_valueAt0, { map_sensor_type == 0}
|
||||||
field = "MAP at maximum voltage", map_sensor_valueAt5, { map_sensor_type == 0}
|
field = "MAP at maximum voltage", map_sensor_valueAt5, { map_sensor_type == 0}
|
||||||
|
|
||||||
|
@ -828,8 +828,8 @@ fileVersion = { 20150112 }
|
||||||
|
|
||||||
; Engine->Fan Settings
|
; Engine->Fan Settings
|
||||||
dialog = fanSetting, "Fan Settings"
|
dialog = fanSetting, "Fan Settings"
|
||||||
field = "Fan On Temperature", FanONTemperature
|
field = "Fan On Temperature", fanOnTemperature
|
||||||
field = "Fan Off Temperature", FanOffTemperature
|
field = "Fan Off Temperature", fanOffTemperature
|
||||||
|
|
||||||
; Board->Board inputs
|
; Board->Board inputs
|
||||||
dialog = triggerInputs, "Trigger inputs", xAxis
|
dialog = triggerInputs, "Trigger inputs", xAxis
|
||||||
|
@ -838,7 +838,7 @@ fileVersion = { 20150112 }
|
||||||
|
|
||||||
dialog = analogInputs, "Analog inputs"
|
dialog = analogInputs, "Analog inputs"
|
||||||
field = "Analog Input Divider Coefficient", analogInputDividerCoefficient
|
field = "Analog Input Divider Coefficient", analogInputDividerCoefficient
|
||||||
field = "Battery Input Divider Coefficient", VBattDividerCoefficient
|
field = "Battery Input Divider Coefficient", vbattDividerCoeff
|
||||||
field = "TPS ADC input", tpsAdcInput
|
field = "TPS ADC input", tpsAdcInput
|
||||||
field = "CLT ADC input", cltAdcInput
|
field = "CLT ADC input", cltAdcInput
|
||||||
field = "IAT ADC input", iatAdcInput
|
field = "IAT ADC input", iatAdcInput
|
||||||
|
|
Loading…
Reference in New Issue