From 9a9574369a36142a2458008e420d2339a2e26d1e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 19 Feb 2023 17:08:55 +0100 Subject: [PATCH] deleted accidentaly --- mission/tmtc/VirtualChannel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mission/tmtc/VirtualChannel.cpp b/mission/tmtc/VirtualChannel.cpp index a33a7dba..64c7b006 100644 --- a/mission/tmtc/VirtualChannel.cpp +++ b/mission/tmtc/VirtualChannel.cpp @@ -44,8 +44,11 @@ ReturnValue_t VirtualChannel::performOperation() { if (linkIsUp) { result = ptme->writeToVc(vcId, data, size); } - tmStore->deleteData(storeId); + if (result != returnvalue::OK) { + return result; + } + count++; if(count == 500) { sif::error << "VirtualChannel: Possible message storm detected" << std::endl;