From 2c00119b47e15dc7fa2d8cc9651d04f16dc0a767 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 17 Nov 2022 17:28:41 +0100 Subject: [PATCH] set SP max size --- linux/devices/ploc/PlocSupvUartMan.cpp | 1 + tmtc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/devices/ploc/PlocSupvUartMan.cpp b/linux/devices/ploc/PlocSupvUartMan.cpp index f7d15317..da9d4b3d 100644 --- a/linux/devices/ploc/PlocSupvUartMan.cpp +++ b/linux/devices/ploc/PlocSupvUartMan.cpp @@ -34,6 +34,7 @@ PlocSupvUartManager::PlocSupvUartManager(object_id_t objectId) decodedRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true), ipcRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true) { resetSpParams(); + spParams.maxSize = cmdBuf.size(); semaphore = SemaphoreFactory::instance()->createBinarySemaphore(); semaphore->acquire(); lock = MutexFactory::instance()->createMutex(); diff --git a/tmtc b/tmtc index f730ff41..066adee1 160000 --- a/tmtc +++ b/tmtc @@ -1 +1 @@ -Subproject commit f730ff4180b02f68122f853800a6247a92ac722e +Subproject commit 066adee13a980f0a297ab401a10abc157a7d921d