Skip to content

Commit

Permalink
inhibit ETB disable due to tps/pps intermittent
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jun 22, 2023
1 parent 611ab63 commit c05767a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions firmware/controllers/actuators/electronic_throttle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,15 @@ bool EtbController::checkStatus() {

TpsState localReason = TpsState::None;
if (etbTpsErrorCounter > 50) {
localReason = TpsState::IntermittentTps;
// TODO: https://github.com/FOME-Tech/fome-fw/issues/169
// localReason = TpsState::IntermittentTps;
#if EFI_SHAFT_POSITION_INPUT
} else if (engineConfiguration->disableEtbWhenEngineStopped && !engine->triggerCentral.engineMovedRecently()) {
localReason = TpsState::EngineStopped;
#endif // EFI_SHAFT_POSITION_INPUT
} else if (etbPpsErrorCounter > 50) {
localReason = TpsState::IntermittentPps;
// TODO: https://github.com/FOME-Tech/fome-fw/issues/169
// localReason = TpsState::IntermittentPps;
} else if (engine->engineState.lua.luaDisableEtb) {
localReason = TpsState::Lua;
}
Expand Down

0 comments on commit c05767a

Please sign in to comment.