rusefi/firmware/controllers/actuators/ac_control.h

23 lines
395 B
C
Raw Normal View History

#pragma once
#include "ac_control_generated.h"
2023-08-30 20:11:24 -07:00
#include <rusefi/timer.h>
class AcController : public ac_control_s, public EngineModule {
public:
constexpr static int PRESSURE_DEADBAND_WIDTH = 5;
using interface_t = AcController;
void onSlowCallback() override;
virtual bool isAcEnabled() const;
2024-09-12 23:52:10 -07:00
Timer timeSinceStateChange;
private:
bool getAcState();
Timer m_timeSinceNoAc;
};