only:small can board
This commit is contained in:
parent
8d205e6162
commit
704db4dd89
|
@ -7,8 +7,13 @@
|
|||
bool FanController::getState(bool acActive, bool lastState) {
|
||||
auto clt = Sensor::get(SensorType::Clt);
|
||||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
cranking = engine->rpmCalculator.isCranking();
|
||||
notRunning = !engine->rpmCalculator.isRunning();
|
||||
#else
|
||||
cranking = false;
|
||||
notRunning = true;
|
||||
#endif
|
||||
|
||||
disabledWhileEngineStopped = notRunning && disableWhenStopped();
|
||||
brokenClt = !clt;
|
||||
|
|
Loading…
Reference in New Issue