force o2 heating (#4275)

This commit is contained in:
Matthew Kennedy 2022-06-23 11:32:34 -07:00 committed by GitHub
parent 983682d11f
commit 9d62aeb81f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -204,7 +204,7 @@ void Engine::periodicSlowCallback() {
updateVrPwm();
enginePins.o2heater.setValue(engine->rpmCalculator.isRunning());
enginePins.o2heater.setValue(engineConfiguration->forceO2Heating || engine->rpmCalculator.isRunning());
enginePins.starterRelayDisable.setValue(Sensor::getOrZero(SensorType::Rpm) < engineConfiguration->cranking.rpm);
updateGppwm();

View File

@ -1072,7 +1072,7 @@ bit isBoostControlEnabled
bit launchSmoothRetard;+Interpolates the Ignition Retard from 0 to 100% within the RPM Range
bit isPhaseSyncRequiredForIgnition;Some engines are OK running semi-random sequential while other engine require phase synchronization
bit useCltBasedRpmLimit,"yes","no";If enabled, use a curve for RPM limit (based on coolant temperature) instead of a constant value.
bit unused_1484_bit_24
bit forceO2Heating,"yes","no";If enabled, don't wait for engine start to heat O2 sensors. WARNING: this will reduce the life of your sensor, as condensation in the exhaust from a cold start can crack the sensing element.
bit unused_1484_bit_25
bit unused_1484_bit_26
bit unused_1484_bit_27

View File

@ -3724,6 +3724,7 @@ dialog = tcuControls, "Transmission Settings"
field = "!Disconnect all controllers you don't want to set!"
commandButton = "Set Index 0", cmd_set_wideband_idx_0
commandButton = "Set Index 1", cmd_set_wideband_idx_1
field = "Force O2 sensor heating", forceO2Heating
dialog = engineTypeDialog, "Popular vehicles"
field = "!These buttons send a command to rusEFI controller to apply preset values"