Skip to content

Commit

Permalink
Corrected the 'channels' attribute name
Browse files Browse the repository at this point in the history
Renamed '_channels' to 'channels' in ad7689.py file due to recent updates in the libiio

Signed-off-by: MPhalke <[email protected]>
  • Loading branch information
mphalke committed Jul 6, 2022
1 parent f6308fe commit ee9da29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adi/ad7689.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ee9da29

Please sign in to comment.