tear down Engine god object #4511
This commit is contained in:
parent
fc9fb5724c
commit
50cef9a201
|
@ -925,7 +925,7 @@ void onConfigurationChangeTriggerCallback() {
|
||||||
if (changed) {
|
if (changed) {
|
||||||
#if EFI_ENGINE_CONTROL
|
#if EFI_ENGINE_CONTROL
|
||||||
engine->updateTriggerWaveform();
|
engine->updateTriggerWaveform();
|
||||||
engine->triggerCentral.noiseFilter.resetAccumSignalData();
|
getTriggerCentral()->noiseFilter.resetAccumSignalData();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if EFI_DEFAILED_LOGGING
|
#if EFI_DEFAILED_LOGGING
|
||||||
|
@ -933,7 +933,7 @@ void onConfigurationChangeTriggerCallback() {
|
||||||
#endif /* EFI_DEFAILED_LOGGING */
|
#endif /* EFI_DEFAILED_LOGGING */
|
||||||
|
|
||||||
// we do not want to miss two updates in a row
|
// we do not want to miss two updates in a row
|
||||||
engine->triggerCentral.triggerConfigChanged = engine->triggerCentral.triggerConfigChanged || changed;
|
getTriggerCentral()->triggerConfigChanged = getTriggerCentral()->triggerConfigChanged || changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void initVvtShape(TriggerWaveform& shape, const TriggerConfiguration& config, TriggerDecoderBase &initState) {
|
static void initVvtShape(TriggerWaveform& shape, const TriggerConfiguration& config, TriggerDecoderBase &initState) {
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#ifdef __cplusplus
|
||||||
#include <rusefi/arrays.h>
|
#include <rusefi/arrays.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _MAX_FILLER 11
|
#define _MAX_FILLER 11
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue