set SP max size
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-11-17 17:28:41 +01:00
parent ae11f73e24
commit 2c00119b47
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ PlocSupvUartManager::PlocSupvUartManager(object_id_t objectId)
decodedRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true), decodedRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true),
ipcRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true) { ipcRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true) {
resetSpParams(); resetSpParams();
spParams.maxSize = cmdBuf.size();
semaphore = SemaphoreFactory::instance()->createBinarySemaphore(); semaphore = SemaphoreFactory::instance()->createBinarySemaphore();
semaphore->acquire(); semaphore->acquire();
lock = MutexFactory::instance()->createMutex(); lock = MutexFactory::instance()->createMutex();

2
tmtc

@ -1 +1 @@
Subproject commit f730ff4180b02f68122f853800a6247a92ac722e Subproject commit 066adee13a980f0a297ab401a10abc157a7d921d