From ee9da293194f4e460d334317ff5a9f98067430fd Mon Sep 17 00:00:00 2001 From: MPhalke Date: Wed, 6 Jul 2022 15:49:07 +0530 Subject: [PATCH] Corrected the 'channels' attribute name Renamed '_channels' to 'channels' in ad7689.py file due to recent updates in the libiio Signed-off-by: MPhalke --- adi/ad7689.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))