Skip to content

Commit

Permalink
dead log channel
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Aug 13, 2024
1 parent bbf8ba0 commit 4ba9bc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion firmware/controllers/actuators/ac_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion firmware/controllers/actuators/ac_control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4ba9bc1

Please sign in to comment.