refactoring: reducing header tree hell
This commit is contained in:
parent
21e7bc2988
commit
37a47b1f25
|
@ -34,8 +34,6 @@ public:
|
|||
|
||||
#define MAX_OUTPUTS_FOR_IGNITION 2
|
||||
|
||||
class Engine;
|
||||
|
||||
class IgnitionEvent {
|
||||
public:
|
||||
IgnitionEvent();
|
||||
|
|
|
@ -43,8 +43,6 @@ bool hasCltSensor(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|||
void setThermistorConfiguration(ThermistorConf * tc, float temp1, float r1, float temp2, float r2, float temp3,
|
||||
float r3);
|
||||
|
||||
class Engine;
|
||||
|
||||
void initThermistors(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
void setCommonNTCSensor(ThermistorConf *thermistorConf);
|
||||
|
|
|
@ -15,9 +15,6 @@
|
|||
class Engine;
|
||||
typedef void (*ShaftPositionListener)(trigger_event_e signal, uint32_t index DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
#ifdef __cplusplus
|
||||
class Engine;
|
||||
|
||||
#define HW_EVENT_TYPES 6
|
||||
|
||||
/**
|
||||
|
@ -54,7 +51,6 @@ private:
|
|||
efitick_t accumSignalPeriods[HW_EVENT_TYPES];
|
||||
efitick_t accumSignalPrevPeriods[HW_EVENT_TYPES];
|
||||
};
|
||||
#endif
|
||||
|
||||
void triggerInfo(void);
|
||||
efitime_t getCrankEventCounter(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
|
Loading…
Reference in New Issue