diff --git a/tc/obsw_tc_service23_sdcard.py b/tc/obsw_tc_service23_sdcard.py index 7fdfc97eaf2cc78fda841f602f3b349a8a3e10be..b4e13104bfb2b11b4c5955f50d21ce72691c0dba 100644 --- a/tc/obsw_tc_service23_sdcard.py +++ b/tc/obsw_tc_service23_sdcard.py @@ -448,8 +448,8 @@ def pack_service23_commands_into(tc_queue: TcQueueT, op_code: int) -> Deque: return tc_queue else: tc_queue.append(("print", "Locking file")) - command = generate_lock_file_srv23_5_6_packet(0, repository_path=repo_path, - filename=filename, lock=True) + command = generate_report_file_attr_srv23_4_packet( + ssc=0, filename=filename, repository_path=repo_path) tc_queue.appendleft(command.pack_command_tuple()) elif op_code == "5" or op_code == 5: LOGGER.info("Press h in the following input requests") @@ -462,7 +462,7 @@ def pack_service23_commands_into(tc_queue: TcQueueT, op_code: int) -> Deque: return tc_queue else: tc_queue.append(("print", "Locking file")) - command = generate_lock_file_srv23_5_6_packet(0, repository_path=repo_path, + command = generate_lock_file_srv23_5_6_packet(ssc=0, repository_path=repo_path, filename=filename, lock=True) tc_queue.appendleft(command.pack_command_tuple()) elif op_code == "6" or op_code == 6: @@ -476,8 +476,8 @@ def pack_service23_commands_into(tc_queue: TcQueueT, op_code: int) -> Deque: return tc_queue else: tc_queue.append(("print", "Unlocking file")) - command = generate_lock_file_packet(0, repository_path=repo_path, filename=filename, - lock=False) + command = generate_lock_file_srv23_5_6_packet(ssc=0, repository_path=repo_path, + filename=filename, lock=False) tc_queue.appendleft(command.pack_command_tuple()) elif op_code == "A2": tc_queue.append(("print", "Printing active file system"))