Add back the parent

This commit is contained in:
atse 2024-07-08 12:34:13 +08:00
parent b6696c2b09
commit 99777d75ce

View File

@ -5,7 +5,7 @@ from autotune import PIDAutotuneState, PIDAutotune
class PIDAutoTuner(QObject): class PIDAutoTuner(QObject):
def __init__(self, parent, client, num_of_channel): def __init__(self, parent, client, num_of_channel):
super().__init__() super().__init__(parent)
self._client = client self._client = client
self.autotuners = [PIDAutotune(25) for _ in range(num_of_channel)] self.autotuners = [PIDAutotune(25) for _ in range(num_of_channel)]