tear down Engine god object #4511

just trying different things
This commit is contained in:
Andrey 2022-09-01 19:46:47 -04:00
parent 42bbf8619a
commit 6f09b0d9f9
4 changed files with 8 additions and 0 deletions

View File

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

View File

@ -1,7 +1,12 @@
/**
* @file fuel_pump.h
*/
#pragma once
#include "engine_module.h"
#include "fuel_pump_control_generated.h"
#include "timer.h"
class FuelPumpController : public EngineModule, public fuel_pump_control_s {
public:

View File

@ -8,6 +8,7 @@
#pragma once
#include "obd_error_codes.h"
#include "rusefi_generated.h"
#include <cstdint>
#ifdef __cplusplus

View File

@ -43,6 +43,7 @@ public enum StateDictionary {
register(live_data_e.LDS_knock_controller, KnockController.VALUES, "knock_controller");
register(live_data_e.LDS_wideband_state, WidebandController.VALUES, "AemXSeriesLambda");
register(live_data_e.LDS_trigger_state_primary, TriggerStatePrimary.VALUES, "trigger_decoder");
register(live_data_e.LDS_fuel_computer, FuelComputer.VALUES, "fuel_computer");
if (map.size() != live_data_e.values().length) {
Set<live_data_e> missing = new HashSet<>(Arrays.asList(live_data_e.values()));
missing.removeAll(map.keySet());