diff --git a/adi/ad7689.py b/adi/ad7689.py index 3ba1b133d..30951c903 100644 --- a/adi/ad7689.py +++ b/adi/ad7689.py @@ -73,7 +73,7 @@ def __init__(self, uri="", device_name=""): self._rxadc = device break - for ch in self._ctrl._channels: + for ch in self._ctrl.channels: name = ch._id self._rx_channel_names.append(name) self.channel.append(self._channel(self._ctrl, name))