vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic
This commit is contained in:
parent
6b03f4ba68
commit
7b4a5c9be6
|
@ -2152,7 +2152,7 @@ struct engine_configuration_s {
|
||||||
bool stftIgnoreErrorMagnitude : 1 {};
|
bool stftIgnoreErrorMagnitude : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 11 */
|
offset 960 bit 11 */
|
||||||
bool tempBooleanForVerySpecialCases : 1 {};
|
bool vvtBooleanForVerySpecialCases : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 12 */
|
offset 960 bit 12 */
|
||||||
bool enableSoftwareKnock : 1 {};
|
bool enableSoftwareKnock : 1 {};
|
||||||
|
|
|
@ -2119,7 +2119,7 @@
|
||||||
#define tcuSolenoidTable_offset 17432
|
#define tcuSolenoidTable_offset 17432
|
||||||
#define tcuUpshiftButtonPin_offset 1536
|
#define tcuUpshiftButtonPin_offset 1536
|
||||||
#define tcuUpshiftButtonPinMode_offset 2950
|
#define tcuUpshiftButtonPinMode_offset 2950
|
||||||
#define tempBooleanForVerySpecialCases_offset 960
|
#define vvtBooleanForVerySpecialCases_offset 960
|
||||||
#define test557pin_offset 846
|
#define test557pin_offset 846
|
||||||
#define thermistor_conf_s_size 28
|
#define thermistor_conf_s_size 28
|
||||||
#define ThermistorConf_size 32
|
#define ThermistorConf_size 32
|
||||||
|
|
|
@ -2152,7 +2152,7 @@ struct engine_configuration_s {
|
||||||
bool stftIgnoreErrorMagnitude : 1 {};
|
bool stftIgnoreErrorMagnitude : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 11 */
|
offset 960 bit 11 */
|
||||||
bool tempBooleanForVerySpecialCases : 1 {};
|
bool vvtBooleanForVerySpecialCases : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 12 */
|
offset 960 bit 12 */
|
||||||
bool enableSoftwareKnock : 1 {};
|
bool enableSoftwareKnock : 1 {};
|
||||||
|
|
|
@ -2119,7 +2119,7 @@
|
||||||
#define tcuSolenoidTable_offset 17432
|
#define tcuSolenoidTable_offset 17432
|
||||||
#define tcuUpshiftButtonPin_offset 1536
|
#define tcuUpshiftButtonPin_offset 1536
|
||||||
#define tcuUpshiftButtonPinMode_offset 2950
|
#define tcuUpshiftButtonPinMode_offset 2950
|
||||||
#define tempBooleanForVerySpecialCases_offset 960
|
#define vvtBooleanForVerySpecialCases_offset 960
|
||||||
#define test557pin_offset 846
|
#define test557pin_offset 846
|
||||||
#define thermistor_conf_s_size 28
|
#define thermistor_conf_s_size 28
|
||||||
#define ThermistorConf_size 32
|
#define ThermistorConf_size 32
|
||||||
|
|
|
@ -2152,7 +2152,7 @@ struct engine_configuration_s {
|
||||||
bool stftIgnoreErrorMagnitude : 1 {};
|
bool stftIgnoreErrorMagnitude : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 11 */
|
offset 960 bit 11 */
|
||||||
bool tempBooleanForVerySpecialCases : 1 {};
|
bool vvtBooleanForVerySpecialCases : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 12 */
|
offset 960 bit 12 */
|
||||||
bool enableSoftwareKnock : 1 {};
|
bool enableSoftwareKnock : 1 {};
|
||||||
|
|
|
@ -2086,7 +2086,7 @@
|
||||||
#define tcuSolenoidTable_offset 17432
|
#define tcuSolenoidTable_offset 17432
|
||||||
#define tcuUpshiftButtonPin_offset 1536
|
#define tcuUpshiftButtonPin_offset 1536
|
||||||
#define tcuUpshiftButtonPinMode_offset 2950
|
#define tcuUpshiftButtonPinMode_offset 2950
|
||||||
#define tempBooleanForVerySpecialCases_offset 960
|
#define vvtBooleanForVerySpecialCases_offset 960
|
||||||
#define test557pin_offset 846
|
#define test557pin_offset 846
|
||||||
#define thermistor_conf_s_size 28
|
#define thermistor_conf_s_size 28
|
||||||
#define ThermistorConf_size 32
|
#define ThermistorConf_size 32
|
||||||
|
|
|
@ -2152,7 +2152,7 @@ struct engine_configuration_s {
|
||||||
bool stftIgnoreErrorMagnitude : 1 {};
|
bool stftIgnoreErrorMagnitude : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 11 */
|
offset 960 bit 11 */
|
||||||
bool tempBooleanForVerySpecialCases : 1 {};
|
bool vvtBooleanForVerySpecialCases : 1 {};
|
||||||
/**
|
/**
|
||||||
offset 960 bit 12 */
|
offset 960 bit 12 */
|
||||||
bool enableSoftwareKnock : 1 {};
|
bool enableSoftwareKnock : 1 {};
|
||||||
|
|
|
@ -2119,7 +2119,7 @@
|
||||||
#define tcuSolenoidTable_offset 17432
|
#define tcuSolenoidTable_offset 17432
|
||||||
#define tcuUpshiftButtonPin_offset 1536
|
#define tcuUpshiftButtonPin_offset 1536
|
||||||
#define tcuUpshiftButtonPinMode_offset 2950
|
#define tcuUpshiftButtonPinMode_offset 2950
|
||||||
#define tempBooleanForVerySpecialCases_offset 960
|
#define vvtBooleanForVerySpecialCases_offset 960
|
||||||
#define test557pin_offset 846
|
#define test557pin_offset 846
|
||||||
#define thermistor_conf_s_size 28
|
#define thermistor_conf_s_size 28
|
||||||
#define ThermistorConf_size 32
|
#define ThermistorConf_size 32
|
||||||
|
|
|
@ -442,8 +442,8 @@ float getConfigValueByName(const char *name) {
|
||||||
return engineConfiguration->showHumanReadableWarning;
|
return engineConfiguration->showHumanReadableWarning;
|
||||||
if (strEqualCaseInsensitive(name, "stftIgnoreErrorMagnitude"))
|
if (strEqualCaseInsensitive(name, "stftIgnoreErrorMagnitude"))
|
||||||
return engineConfiguration->stftIgnoreErrorMagnitude;
|
return engineConfiguration->stftIgnoreErrorMagnitude;
|
||||||
if (strEqualCaseInsensitive(name, "tempBooleanForVerySpecialCases"))
|
if (strEqualCaseInsensitive(name, "vvtBooleanForVerySpecialCases"))
|
||||||
return engineConfiguration->tempBooleanForVerySpecialCases;
|
return engineConfiguration->vvtBooleanForVerySpecialCases;
|
||||||
if (strEqualCaseInsensitive(name, "enableSoftwareKnock"))
|
if (strEqualCaseInsensitive(name, "enableSoftwareKnock"))
|
||||||
return engineConfiguration->enableSoftwareKnock;
|
return engineConfiguration->enableSoftwareKnock;
|
||||||
if (strEqualCaseInsensitive(name, "verboseVVTDecoding"))
|
if (strEqualCaseInsensitive(name, "verboseVVTDecoding"))
|
||||||
|
@ -1570,9 +1570,9 @@ void setConfigValueByName(const char *name, float value) {
|
||||||
engineConfiguration->stftIgnoreErrorMagnitude = (int)value;
|
engineConfiguration->stftIgnoreErrorMagnitude = (int)value;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (strEqualCaseInsensitive(name, "tempBooleanForVerySpecialCases"))
|
if (strEqualCaseInsensitive(name, "vvtBooleanForVerySpecialCases"))
|
||||||
{
|
{
|
||||||
engineConfiguration->tempBooleanForVerySpecialCases = (int)value;
|
engineConfiguration->vvtBooleanForVerySpecialCases = (int)value;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (strEqualCaseInsensitive(name, "enableSoftwareKnock"))
|
if (strEqualCaseInsensitive(name, "enableSoftwareKnock"))
|
||||||
|
|
|
@ -180,7 +180,7 @@ static angle_t adjustCrankPhase(int camIndex) {
|
||||||
case VVT_MAZDA_SKYACTIV:
|
case VVT_MAZDA_SKYACTIV:
|
||||||
case VVT_MITSUBISHI_3A92:
|
case VVT_MITSUBISHI_3A92:
|
||||||
case VVT_MITSUBISHI_6G75:
|
case VVT_MITSUBISHI_6G75:
|
||||||
return syncAndReport(tc, getCrankDivider(operationMode), engineConfiguration->tempBooleanForVerySpecialCases ? 1 : 0);
|
return syncAndReport(tc, getCrankDivider(operationMode), engineConfiguration->vvtBooleanForVerySpecialCases ? 1 : 0);
|
||||||
case VVT_HONDA_K:
|
case VVT_HONDA_K:
|
||||||
firmwareError(OBD_PCM_Processor_Fault, "Undecided on VVT phase of %s", getVvt_mode_e(vvtMode));
|
firmwareError(OBD_PCM_Processor_Fault, "Undecided on VVT phase of %s", getVvt_mode_e(vvtMode));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -908,7 +908,7 @@ custom maf_sensor_type_e 1 bits, S08, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@
|
||||||
bit enableInnovateLC2
|
bit enableInnovateLC2
|
||||||
bit showHumanReadableWarning
|
bit showHumanReadableWarning
|
||||||
bit stftIgnoreErrorMagnitude;+If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. Use of this mode is required if you have a narrowband O2 sensor.
|
bit stftIgnoreErrorMagnitude;+If enabled, adjust at a constant rate instead of a rate proportional to the current lambda error. This mode may be easier to tune, and more tolerant of sensor noise. Use of this mode is required if you have a narrowband O2 sensor.
|
||||||
bit tempBooleanForVerySpecialCases
|
bit vvtBooleanForVerySpecialCases
|
||||||
bit enableSoftwareKnock
|
bit enableSoftwareKnock
|
||||||
bit verboseVVTDecoding;Verbose info in console below engineSnifferRpmThreshold\nenable vvt_details
|
bit verboseVVTDecoding;Verbose info in console below engineSnifferRpmThreshold\nenable vvt_details
|
||||||
bit invertCamVVTSignal;get invertCamVVTSignal
|
bit invertCamVVTSignal;get invertCamVVTSignal
|
||||||
|
@ -1074,7 +1074,7 @@ bit unused_1484_bit_27
|
||||||
bit unused_1484_bit_38
|
bit unused_1484_bit_38
|
||||||
bit unused_1484_bit_29
|
bit unused_1484_bit_29
|
||||||
bit unused_1484_bit_30
|
bit unused_1484_bit_30
|
||||||
bit unused_1484_bit_31
|
bit tempBooleanForVerySpecialLogic
|
||||||
|
|
||||||
uint32_t engineChartSize;;"count", 1, 0, 0, 300, 0
|
uint32_t engineChartSize;;"count", 1, 0, 0, 300, 0
|
||||||
|
|
||||||
|
|
|
@ -3929,7 +3929,8 @@ dialog = tcuControls, "Transmission Settings"
|
||||||
field = useEeprom, useEeprom
|
field = useEeprom, useEeprom
|
||||||
field = "disablePrimaryUart", disablePrimaryUart
|
field = "disablePrimaryUart", disablePrimaryUart
|
||||||
field = "#System hacks"
|
field = "#System hacks"
|
||||||
field = "tempBooleanForVerySpecialCases", tempBooleanForVerySpecialCases
|
field = "vvtBooleanForVerySpecialCases", vvtBooleanForVerySpecialCases
|
||||||
|
field = tempBooleanForVerySpecialLogic, tempBooleanForVerySpecialLogic
|
||||||
field = "Global fuel correction", globalFuelCorrection
|
field = "Global fuel correction", globalFuelCorrection
|
||||||
field = "MAP Averaging Logic @", mapAveragingSchedulingAtIndex
|
field = "MAP Averaging Logic @", mapAveragingSchedulingAtIndex
|
||||||
field = "showHumanReadableWarning (affects Burn)", showHumanReadableWarning
|
field = "showHumanReadableWarning (affects Burn)", showHumanReadableWarning
|
||||||
|
|
Loading…
Reference in New Issue