minor trigger refactoring
This commit is contained in:
parent
4a26b0973d
commit
fd86dc2b0f
|
@ -411,7 +411,7 @@ void prepareOutputSignals() {
|
|||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
engine->triggerCentral.triggerShape.prepareShape(engine->triggerCentral.triggerFormDetails);
|
||||
engine->triggerCentral.prepareTriggerShape();
|
||||
|
||||
// Fuel schedule may now be completely wrong, force a reset
|
||||
engine->injectionEvents.invalidate();
|
||||
|
|
|
@ -59,7 +59,6 @@ public:
|
|||
void setAngle(angle_t angle);
|
||||
};
|
||||
|
||||
class Engine;
|
||||
class TriggerDecoderBase;
|
||||
class TriggerFormDetails;
|
||||
class TriggerConfiguration;
|
||||
|
|
|
@ -54,6 +54,10 @@ public:
|
|||
void validateCamVvtCounters();
|
||||
void updateWaveform();
|
||||
|
||||
void prepareTriggerShape() {
|
||||
triggerShape.prepareShape(triggerFormDetails);
|
||||
}
|
||||
|
||||
// this is useful at least for real hardware integration testing - maybe a proper solution would be to simply
|
||||
// GND input pins instead of leaving them floating
|
||||
bool hwTriggerInputEnabled = true;
|
||||
|
|
Loading…
Reference in New Issue