Skip to content

Commit

Permalink
simplify bmp_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 1, 2023
1 parent a1f067f commit 0496ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spinnman/extended/extended_transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def set_led(self, led, action, board, cabinet, frame):
warn_once(logger, "The set_led method is deprecated and "
"untested due to no known use.")
process = SendSingleCommandProcess(
self._bmp_selector(cabinet, frame))
self._bmp_selector())
process.execute(BMPSetLed(led, action, board))

def read_adc_data(self, board, cabinet, frame):
Expand All @@ -472,7 +472,7 @@ def read_adc_data(self, board, cabinet, frame):
warn_once(logger, "The read_adc_data method is deprecated and "
"untested due to no known use.")
process = SendSingleCommandProcess(
self._bmp_selector(cabinet, frame))
self._bmp_selector())
response = process.execute(ReadADC(board))
return response.adc_info # pylint: disable=no-member

Expand Down

0 comments on commit 0496ea2

Please sign in to comment.