TUNING DETECTED indicator and pause STFT if tuning is detected #7515
only:timeout setting
This commit is contained in:
parent
296b960921
commit
e79c975278
|
@ -526,6 +526,9 @@ bool validateConfigOnStartUpOrBurn() {
|
|||
}
|
||||
if (config->dynoCarCarMassKg == 0) {
|
||||
setDynoDefaults();
|
||||
}
|
||||
if (engineConfiguration->tuningDetector == 0) {
|
||||
engineConfiguration->tuningDetector = TUNING_DETECTOR_PERSISTENCE_OFFSET;
|
||||
}
|
||||
if (engineConfiguration->cylindersCount > MAX_CYLINDER_COUNT) {
|
||||
criticalError("Invalid cylinder count: %d", engineConfiguration->cylindersCount);
|
||||
|
|
|
@ -555,7 +555,9 @@ ThermistorConf iat;
|
|||
uint8_t hip9011Prescaler;value '6' for 8MHz hw osc\nread hip9011 datasheet for details\ntodo split into two bit fields;"integer", 1, 0, 0, 32, 0
|
||||
uint8_t unusedHip0
|
||||
uint8_t unusedHip1
|
||||
uint8_t unusedHip2
|
||||
! we use this offset to increase changes of default value during configuration migration
|
||||
#define TUNING_DETECTOR_PERSISTENCE_OFFSET 1
|
||||
uint8_t tuningDetector;Zero value means do not detect tuning;"seconds", 1, @@TUNING_DETECTOR_PERSISTENCE_OFFSET@@, 0, 250, 0
|
||||
int16_t alternator_iTermMin;iTerm min value;"", 1, 0, -30000, 30000, 0
|
||||
int16_t alternator_iTermMax;iTerm max value;"", 1, 0, -30000, 30000, 0
|
||||
|
||||
|
|
|
@ -4234,6 +4234,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
|
|||
field = "Enabled", fuelClosedLoopCorrectionEnabled
|
||||
|
||||
field = "Startup delay" stft_startupDelay, {fuelClosedLoopCorrectionEnabled == 1}
|
||||
field = "Detect Tuning and Suspend", tuningDetector, {fuelClosedLoopCorrectionEnabled == 1}
|
||||
field = "Minimum CLT for correction", stft_minClt, {fuelClosedLoopCorrectionEnabled == 1}
|
||||
field = "Minimum AFR for correction", stft_minAfr, {fuelClosedLoopCorrectionEnabled == 1}
|
||||
field = "Maximum AFR for correction", stft_maxAfr, {fuelClosedLoopCorrectionEnabled == 1}
|
||||
|
|
Loading…
Reference in New Issue