Skip to content

Commit

Permalink
cabinet, frame never used
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jul 31, 2023
1 parent c0327fa commit 4581ce6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spinnman/extended/extended_transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def execute_application(self, executable_targets, app_id):
# Send a signal telling the application to start
self.send_signal(app_id, Signal.START)

def set_led(self, led, action, board, cabinet, frame):
def set_led(self, led, action, board):
"""
Set the LED state of a board in the machine.
Expand All @@ -445,15 +445,13 @@ def set_led(self, led, action, board, cabinet, frame):
also be an iterable of multiple boards (in the same frame). The
command will actually be sent to the first board in the iterable.
:type board: int or iterable(int)
:param int cabinet: the cabinet this is targeting
:param int frame: the frame this is targeting
"""
warn_once(logger, "The set_led method is deprecated and "
"untested due to no known use.")
process = SendSingleCommandProcess(self._bmp_connection_selector)
process.execute(BMPSetLed(led, action, board))

def read_adc_data(self, board, cabinet, frame):
def read_adc_data(self, board):
"""
Read the BMP ADC data.
Expand All @@ -462,8 +460,6 @@ def read_adc_data(self, board, cabinet, frame):
known use. Same functionality provided by ybug and bmpc.
Retained in case needed for hardware debugging.
:param int cabinet: cabinet: the cabinet this is targeting
:param int frame: the frame this is targeting
:param int board: which board to request the ADC data from
:return: the FPGA's ADC data object
:rtype: ADCInfo
Expand Down

0 comments on commit 4581ce6

Please sign in to comment.