diff --git a/firmware/controllers/trigger/trigger_structure.cpp b/firmware/controllers/trigger/trigger_structure.cpp index 62b9560411..b748741c77 100644 --- a/firmware/controllers/trigger/trigger_structure.cpp +++ b/firmware/controllers/trigger/trigger_structure.cpp @@ -112,9 +112,9 @@ void TriggerShape::initialize(operation_mode_e operationMode, bool needSecondTri memset(dutyCycle, 0, sizeof(dutyCycle)); memset(eventAngles, 0, sizeof(eventAngles)); // memset(triggerIndexByAngle, 0, sizeof(triggerIndexByAngle)); + setTriggerSynchronizationGap(2); tdcPosition = 0; - setTriggerSynchronizationGap(2); // todo: true here, false in constructor() what a mess! useRiseEdge = true;