diff --git a/firmware/hw_layer/kline.cpp b/firmware/hw_layer/kline.cpp index 5d9697f154..e12e82a921 100644 --- a/firmware/hw_layer/kline.cpp +++ b/firmware/hw_layer/kline.cpp @@ -111,7 +111,10 @@ void kLineThread(void*) { if (engineConfiguration->verboseKLine) { efiPrintf("kline doSend"); } - int positiveCltWithHighishValueInCaseOfSensorIssue = maxI(1, Sensor::get(SensorType::Clt).value_or(140)); + int positiveCltWithHighishValueInCaseOfSensorIssue = maxI(1, + /* temporary while we are playing with calibration */ + engineConfiguration->auxiliarySetting1 + Sensor::get(SensorType::Clt).value_or(140) + ); // 125 about horizontal // 162 points at red mark, looks like gauge has hysteresis? // value 200 way above red mark diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index a56f560185..71ef92ec0c 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1408,7 +1408,7 @@ tChargeMode_e tChargeMode; uint8_t hpfpCamLobes;;"lobes/cam", 1, 0, 0, 255, 0 hpfp_cam_e hpfpCam; - uint8_t unusedHere + uint8_t auxiliarySetting1 uint8_t hpfpMinAngle;If the requested activation time is below this angle, don't bother running the pump;"deg", 1, 0, 0, 255, 0 uint16_t autoscale hpfpPumpVolume;Size of the pump chamber in cc. Typical Bosch HDP5 has a 9.0mm diameter, typical BMW N* stroke is 4.4mm.;"cc", 0.001, 0, 0, 65, 3 uint8_t hpfpActivationAngle;How long to keep the valve activated (in order to allow the pump to build pressure and keep the valve open on its own);"deg", 1, 0, 0, 255, 0 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index bf91926124..8a3e47c330 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -4279,6 +4279,7 @@ dialog = tcuControls, "Transmission Settings" field = uiMode, uiMode field = kLineBaudRate, kLineBaudRate field = verboseKLine, verboseKLine + field = auxiliarySetting1, auxiliarySetting1 field = kLineDoHondaSend, kLineDoHondaSend field = hondaK, hondaK field = kLinePeriodUs, kLinePeriodUs