diff --git a/firmware/controllers/actuators/ac_control.cpp b/firmware/controllers/actuators/ac_control.cpp index 8a4aedf4ba..fc8ab49b38 100644 --- a/firmware/controllers/actuators/ac_control.cpp +++ b/firmware/controllers/actuators/ac_control.cpp @@ -9,7 +9,6 @@ static Deadband<5> maxCltDeadband; static Deadband<5> maxTpsDeadband; bool AcController::getAcState() { - latest_usage_ac_control = getTimeNowS(); auto rpm = Sensor::getOrZero(SensorType::Rpm); engineTooSlow = rpm < 500; diff --git a/firmware/controllers/actuators/ac_control.txt b/firmware/controllers/actuators/ac_control.txt index 89c1e9cafc..f9072ac0bd 100644 --- a/firmware/controllers/actuators/ac_control.txt +++ b/firmware/controllers/actuators/ac_control.txt @@ -13,7 +13,6 @@ bit tpsTooHigh;AC tps too high bit isDisabledByLua;AC disabled by Lua bit acCompressorState;AC compressor on -int latest_usage_ac_control;AC latest activity ! todo: extract some helper which would contain boolean state and most recent toggle time? int acSwitchLastChangeTimeMs;