removed unused parameters

This commit is contained in:
Robin Müller 2021-09-08 14:34:09 +02:00
parent b2feb05fa9
commit 27e5e6c7ae
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -61,7 +61,6 @@ def pack_p60dock_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: st
if op_code == "1": if op_code == "1":
tc_queue.appendleft((QueueCommands.PRINT, "P60 Dock: Turning stack 3V3 on")) tc_queue.appendleft((QueueCommands.PRINT, "P60 Dock: Turning stack 3V3 on"))
parameter = 0 # set channel off
command = pack_set_param_command( command = pack_set_param_command(
object_id, P60DockConfigTable.out_en_9.parameter_address, object_id, P60DockConfigTable.out_en_9.parameter_address,
P60DockConfigTable.out_en_9.parameter_size, Channel.on P60DockConfigTable.out_en_9.parameter_size, Channel.on
@ -71,7 +70,6 @@ def pack_p60dock_test_into(object_id: bytearray, tc_queue: TcQueueT, op_code: st
return tc_queue return tc_queue
if op_code == "2": if op_code == "2":
tc_queue.appendleft((QueueCommands.PRINT, "P60 Dock: Turning stack 3V3 off")) tc_queue.appendleft((QueueCommands.PRINT, "P60 Dock: Turning stack 3V3 off"))
parameter = 0 # set channel off
command = pack_set_param_command( command = pack_set_param_command(
object_id, P60DockConfigTable.out_en_9.parameter_address, object_id, P60DockConfigTable.out_en_9.parameter_address,
P60DockConfigTable.out_en_9.parameter_size, Channel.off P60DockConfigTable.out_en_9.parameter_size, Channel.off