Skip to content

Commit

Permalink
Merge pull request #480 from analogdevicesinc/dlech/fix-rx_enabled_ch…
Browse files Browse the repository at this point in the history
…annels-return-type

adi/rx_tx.py: fix return type of rx_enabled_channels
  • Loading branch information
tfcollins authored Oct 4, 2023
2 parents bdc6fa2 + b7adaa1 commit f2abbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adi/rx_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def rx_buffer_size(self, value):
self.__rx_buffer_size = value

@property
def rx_enabled_channels(self) -> List[int]:
def rx_enabled_channels(self) -> Union[List[int], List[str]]:
"""rx_enabled_channels: List of enabled channels (channel 1 is 0)
Either a list of channel numbers or channel names can be used to set
Expand Down

0 comments on commit f2abbd5

Please sign in to comment.