Skip to content
Snippets Groups Projects
Commit b43815d2 authored by Martin Teichmann's avatar Martin Teichmann Committed by Martin Teichmann
Browse files

always have a current_data in a sync group

parent 3b19e837
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment