only:small can board

This commit is contained in:
Andrey 2023-09-06 16:59:06 -04:00
parent 8d205e6162
commit 704db4dd89
1 changed files with 5 additions and 0 deletions

View File

@ -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;