fixed bogus slotcount use display + moved some stuff to dynalloc to save ram

This commit is contained in:
2018-01-14 00:21:13 +01:00
parent 7df577f9b1
commit 05875a8167
5 changed files with 12 additions and 17 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ void TaskMsgJob(const void *argument)
#if USE_STACK_MONITOR
uint32_t count;
count = (uint32_t) uxQueueMessagesWaiting(queMsgJobHandle); // this seems to return N+1, hence we don't add the +1 for the one just removed.
count = (uint32_t) uxQueueMessagesWaiting(queMsgJobHandle)+1;
msgQueHighWaterMark = MAX(msgQueHighWaterMark, count);
#endif
}