tear down Engine god object #4511

just trying different things
This commit is contained in:
Andrey 2022-09-01 20:16:41 -04:00
parent 3094cc6be7
commit 2d689f5a5a
5 changed files with 6 additions and 14 deletions

View File

@ -1,4 +1,7 @@
#include "pch.h"
//#include "pch_util.h"
//#include "efi_gpio.h" //but need enginePins
#include "ac_control.h"
#include "deadband.h"

View File

@ -1,7 +1,6 @@
#pragma once
#include "ac_control_generated.h"
#include "timer.h"
class AcController final : public ac_control_s, public EngineModule {
public:

View File

@ -3,8 +3,6 @@
*/
#pragma once
#include "engine_module.h"
#include "timer.h"
// DFCO = deceleration fuel cut off, ie, save gas when your foot is off the pedal
class DfcoController : public EngineModule {

View File

@ -1,10 +1,5 @@
// here am flirting with not using pch.h and not including at least Engine
#include <rusefi/interpolation.h>
#include <rusefi/arrays.h>
#include "engine_configuration.h"
#include "sensor.h"
#include "error_handling.h"
#include "pch_util.h"
#include "injector_model.h"
#include "fuel_computer.h"

View File

@ -17,12 +17,10 @@
#define TRUE (!(FALSE))
#endif /* TRUE */
#include <rusefi/arrays.h>
#include "pch_util.h"
#include <rusefi/crc.h>
#include <rusefi/fragments.h>
#include <rusefi/interpolation.h>
#include <rusefi/isnan.h>
#include <rusefi/math.h>
#include <rusefi/pt2001.h>
#include "efifeatures.h"
@ -32,13 +30,12 @@
#include "global.h"
#include "efi_gpio.h"
#include "tunerstudio_outputs.h"
// evil god object lives here!
#include "engine.h"
#include "engine_configuration.h"
#include "engine_controller.h"
#include "engine_math.h"
#include "pwm_generator_logic.h"
#include "allsensors.h"
#include "sensor.h"
#include "settings.h"
#include "efi_interpolation.h"
#include "perf_trace.h"