Add back the parent

This commit is contained in:
atse 2024-07-08 12:34:13 +08:00
parent 6f0956b35c
commit f75de51447

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)]