From b43815d2a34472aa500bfb167fa0369edacb0aa8 Mon Sep 17 00:00:00 2001 From: Martin Teichmann <martin.teichmann@xfel.eu> Date: Tue, 14 Feb 2023 17:28:31 +0100 Subject: [PATCH] always have a current_data in a sync group --- ebpfcat/ebpfcat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebpfcat/ebpfcat.py b/ebpfcat/ebpfcat.py index e9f182a..ce21c6e 100644 --- a/ebpfcat/ebpfcat.py +++ b/ebpfcat/ebpfcat.py @@ -350,6 +350,8 @@ class FastEtherCat(SimpleEtherCat): class SyncGroupBase: missed_counter = 0 + current_data = None + def __init__(self, ec, devices, **kwargs): super().__init__(**kwargs) self.ec = ec @@ -409,8 +411,6 @@ class SyncGroup(SyncGroupBase): class FastSyncGroup(SyncGroupBase, XDP): license = "GPL" - current_data = None - properties = ArrayMap() def __init__(self, ec, devices, **kwargs): -- GitLab