rusefi-1/firmware/controllers/algo/fuel/dfco.h

18 lines
307 B
C++

#pragma once
// DFCO = deceleration fuel cut off, ie, save gas when your foot is off the pedal
class DfcoController : public EngineModule {
public:
void update();
bool cutFuel() const;
float getTimeSinceCut() const;
private:
bool getState() const;
bool m_isDfco = false;
Timer m_timeSinceCut;
};