Implement auto knock threshold sampling #3033

This commit is contained in:
rusefillc 2021-08-09 16:25:57 -04:00
parent 6930e019bf
commit f9dfcc8b9a
2 changed files with 3 additions and 1 deletions

View File

@ -1392,7 +1392,8 @@ tle8888_mode_e tle8888mode;
uint16_t applyNonlinearBelowPulse;+Apply nonlinearity correction below a pulse of this duration. Pulses longer than this duration will receive no adjustment.;"ms", {1/1000}, 0, 0, 30, 3
custom InjectorNonlinearMode 1 bits, U08, @OFFSET@, [0:0], "None", "Polynomial"
InjectorNonlinearMode injectorNonlinearMode
uint8_t[3] unused2508;;"units", 1, 0, -20, 100, 0
uint8_t unused2508;;"units", 1, 0, -20, 100, 0
int16_t knockSamplingDuration;;"Deg", 1, 0, 0, 720, 0
int16_t etbFreq;;"Hz", 1, 0, 0, @@ETB_HW_MAX_FREQUENCY@@, 0
pid_s etbWastegatePid;
uint8_t[4] unused2536;;"units", 1, 0, -20, 100, 0

View File

@ -2817,6 +2817,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
field = "Enable", enableSoftwareKnock
field = "Cylinder Bore", cylinderBore
field = "Knock filter frequency", knockBandCustom, {enableSoftwareKnock}
field = "knockSamplingDuration", knockSamplingDuration, {enableSoftwareKnock}
field = ""
field = "Select the nearest sensor for each cylinder"
field = "Cylinder 1", knockBankCyl1, {enableSoftwareKnock}