Skip to content

Commit

Permalink
Fix: Refine check for complex data
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed Oct 15, 2024
1 parent ae674d9 commit 8084776
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 8084776

Please sign in to comment.