Skip to content

Commit

Permalink
Merge pull request #60 from KCL-BMEIS/58-card-status-broken
Browse files Browse the repository at this point in the history
#58 - fixed status property of abstract spectrum hub
  • Loading branch information
crnbaker authored Jun 5, 2024
2 parents 33a2025 + 4be2756 commit b74d09b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def status(self) -> DEVICE_STATUS_TYPE:
Returns:
statuses (List[List[`CardStatus`]]): A list of lists of `CardStatus` (each card has a list of statuses).
"""
return DEVICE_STATUS_TYPE([card.status[0] for card in self._child_cards])
return [card.status[0] for card in self._child_cards]

def start_transfer(self) -> None:
"""Start the transfer of data between the on-device buffer of each child card and its `TransferBuffer`. See
Expand Down

0 comments on commit b74d09b

Please sign in to comment.