Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class fixes after rc testing #605

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adi/ad9083.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, uri=""):
self._rx_channel_names.append(ch._id)

for name in self._rx_channel_names:
if "_i" or "_q" in name:
if any(ext in name for ext in ["_i", "_q"]):
self._complex_data = True

rx.__init__(self)
Expand Down
2 changes: 1 addition & 1 deletion adi/ad9467.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ad9467(rx, context_manager):
""" AD9467 High-Speed ADC """

_complex_data = False
_rx_channel_names = ["voltage0", "voltage1"]
_rx_channel_names = ["voltage0"]
_device_name = ""

def __init__(self, uri=""):
Expand Down
Loading