parent
716b0c1f60
commit
d1917a2a62
|
@ -1,4 +1,8 @@
|
||||||
#include "pch.h"
|
|
||||||
|
#include "engine_configuration.h"
|
||||||
|
#include "sensor.h"
|
||||||
|
|
||||||
|
#include "dfco.h"
|
||||||
|
|
||||||
bool DfcoController::getState() const {
|
bool DfcoController::getState() const {
|
||||||
if (!engineConfiguration->coastingFuelCutEnabled) {
|
if (!engineConfiguration->coastingFuelCutEnabled) {
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
/**
|
||||||
|
* @file dfco.h
|
||||||
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#include "engine_module.h"
|
||||||
|
#include "timer.h"
|
||||||
|
|
||||||
// DFCO = deceleration fuel cut off, ie, save gas when your foot is off the pedal
|
// DFCO = deceleration fuel cut off, ie, save gas when your foot is off the pedal
|
||||||
class DfcoController : public EngineModule {
|
class DfcoController : public EngineModule {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include <rusefi/arrays.h>
|
#include <rusefi/arrays.h>
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
#include "sensor.h"
|
#include "sensor.h"
|
||||||
#include "engine_module.h"
|
|
||||||
#include "error_handling.h"
|
#include "error_handling.h"
|
||||||
|
|
||||||
#include "injector_model.h"
|
#include "injector_model.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include "expected.h"
|
#include "expected.h"
|
||||||
#include "injector_model_generated.h"
|
#include "injector_model_generated.h"
|
||||||
|
#include "engine_module.h"
|
||||||
|
|
||||||
struct IInjectorModel : public EngineModule {
|
struct IInjectorModel : public EngineModule {
|
||||||
virtual void prepare() = 0;
|
virtual void prepare() = 0;
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
This folder is about Precompiled Headers
|
||||||
|
|
||||||
|
See rusefi_pch.mk
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* @file timer.h
|
||||||
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "efitime.h"
|
#include "efitime.h"
|
||||||
|
|
Loading…
Reference in New Issue