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

This commit is contained in:
2022-11-17 17:28:41 +01:00
parent ae11f73e24
commit 2c00119b47
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),
ipcRingBuf(1200 * MAX_STORED_DECODED_PACKETS, true) {
resetSpParams();
spParams.maxSize = cmdBuf.size();
semaphore = SemaphoreFactory::instance()->createBinarySemaphore();
semaphore->acquire();
lock = MutexFactory::instance()->createMutex();