diff --git a/mission/com/LiveTmTask.cpp b/mission/com/LiveTmTask.cpp index e9dcc84b..638f2e43 100644 --- a/mission/com/LiveTmTask.cpp +++ b/mission/com/LiveTmTask.cpp @@ -137,7 +137,7 @@ ReturnValue_t LiveTmTask::handleGenericTmQueue(MessageQueueIF& queue) { return result; } - if (ptmeLocked) { + if (!ptmeLocked) { result = channel.write(data, size); } // Try delete in any case, ignore failures (which should not happen), it is more important to