added missing mutex for shared scratch buffer

This commit is contained in:
2018-01-06 15:53:56 +01:00
parent 913f431a54
commit 931f6cea59
10 changed files with 63 additions and 40 deletions
+2 -1
View File
@@ -26,6 +26,7 @@ void TaskMessaging(const void * argument)
xQueueReceive(queRxDataHandle, &slot, osWaitForever);
assert_param(slot.len>0 && slot.len<=64); // check the len is within bounds
// We need thr scratch buffer for many unit command handlers
TF_Accept(comm, slot.data, slot.len);
#if USE_STACK_MONITOR
@@ -34,4 +35,4 @@ void TaskMessaging(const void * argument)
msgQueHighWaterMark = MAX(msgQueHighWaterMark, count);
#endif
}
}
}