auto-sync

This commit is contained in:
rusEfi 2016-01-26 19:02:54 -05:00
parent a23524627d
commit 0c7a5e8096
1 changed files with 2 additions and 1 deletions

View File

@ -397,6 +397,8 @@ static void configureOnePlus60_2(TriggerShape *s, operation_mode_e operationMode
s->isSynchronizationNeeded = false;
}
static TriggerState state CCM_OPTIONAL;
/**
* External logger is needed because at this point our logger is not yet initialized
*/
@ -530,7 +532,6 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
* this instance is used only to initialize 'this' TriggerShape instance
* #192 BUG real hardware trigger events could be coming even while we are initializing trigger
*/
TriggerState state;
state.reset();
calculateTriggerSynchPoint(&state PASS_ENGINE_PARAMETER);
}