From 893492bc29e3b66e94655f3d44fedd09d982ed9b Mon Sep 17 00:00:00 2001
From: "Robin.Mueller" <robin.mueller.m@gmail.com>
Date: Mon, 12 Oct 2020 00:56:10 +0200
Subject: [PATCH] some replacements

---
 tc/obsw_tc_service23_sdcard.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tc/obsw_tc_service23_sdcard.py b/tc/obsw_tc_service23_sdcard.py
index 7fdfc97..b4e1310 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"))
-- 
GitLab