From e1c1bde35fe5ff7bb69f612c166b9eaedf6e58ae 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 74c0e8c..ce789ca 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 @@ -419,8 +421,6 @@ class SyncGroup(SyncGroupBase): class FastSyncGroup(SyncGroupBase, XDP): license = "GPL" - current_data = None - properties = ArrayMap() def __init__(self, ec, devices, **kwargs): -- GitLab