only:knockSpectrumSensitivity and knockFrequency comes back!

knock_plugin_clean - clean changes #6989
This commit is contained in:
Andrey 2024-10-21 10:42:24 -04:00
parent a1dee4a286
commit bf5fdecbec
2 changed files with 10 additions and 1 deletions

View File

@ -1227,6 +1227,7 @@ int16_t tps2Max;Full throttle#2. tpsMax value as 10 bit ADC value. Not Voltage!\
bit unusedSkipWasHere
bit invertExhaustCamVVTSignal,"Falling","Rising"
bit enableKnockSpectrogram
bit enableKnockSpectrogramFilter
int16_t afterCrankingIACtaperDuration;This is the duration in cycles that the IAC will take to reach its normal idle position, it can be used to hold the idle higher for a few seconds after cranking to improve startup.\Should be 100 once tune is better;"cycles", 1, 0, 0, 5000, 0
int16_t iacByTpsTaper;IAC Value added when coasting and transitioning into idle.;"percent", 1, 0, 0, 500, 0
@ -1725,7 +1726,10 @@ uint8_t autoscale knockFuelTrimAggression;Fuel to odd when a knock event occurs.
uint8_t autoscale knockFuelTrimReapplyRate;After a knock event, reapply fuel at this rate.;"deg/s", 0.1, 0, 0, 10, 1
uint8_t autoscale knockFuelTrim;Fuel trim when knock, max 30%;"%", 1, 0, 0, 30, 1
#define END_OF_CALIBRATION_PADDING 124
float knockSpectrumSensitivity;;"sense", 1, 0, 0, 1, 2
float knockFrequency;"Estimated knock frequency, ignore cylinderBore if this one > 0";"Hz", 1, 0, 0, 20000, 2
#define END_OF_CALIBRATION_PADDING 116
uint8_t[END_OF_CALIBRATION_PADDING] unusedOftenChangesDuringFirmwareUpdate;;"units", 1, 0, 0, 1, 0
! end of engine_configuration_s

View File

@ -358,6 +358,7 @@ enable2ndByteCanID = false
requiresPowerCycle = auxAnalogInputs8
requiresPowerCycle = cylinderBore
requiresPowerCycle = knockFrequency
readOnly = warning_message
readOnly = device_uid1
@ -3889,9 +3890,13 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
dialog = softwareKnockCfg, "Sense"
field = "Enable", enableSoftwareKnock
field = "Cylinder Bore", cylinderBore, {enableSoftwareKnock}
field = "Estimated Knock Frequency",knockFrequency, {enableSoftwareKnock}
field = "Detection mode", knockDetectionUseDoubleFrequency
field = "Detection Window Start",knockDetectionWindowStart, {enableSoftwareKnock}
field = "Sampling Duration", knockSamplingDuration, {enableSoftwareKnock}
field = "Enable Knock Spectrogram", enableKnockSpectrogram, {enableSoftwareKnock}
field = "Enable Knock Spectrogram Filter", enableKnockSpectrogramFilter, {enableKnockSpectrogram}
field = "Knock Spectrum Sensitivity", knockSpectrumSensitivity, {enableKnockSpectrogram}
field = ""
field = "Select the nearest sensor for each cylinder"