Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2018-04-01 18:49:43 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-04-01 18:49:43 +0300
commit97e7b46202b9f71075101ed86b6967904f87fa98 (patch)
tree4852f94f2497ae43f6f2ba69c6a72ace6f1f7fd0 /src/RepRap.h
parent4d151a5d02a8bca3810e4a75bf225136548fa1ab (diff)
More RTOS work
Refactored mutex and task interface Output channels, tool list and message box data are now thread safe
Diffstat (limited to 'src/RepRap.h')
-rw-r--r--src/RepRap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RepRap.h b/src/RepRap.h
index dcdc62fe..e45b2cbe 100644
--- a/src/RepRap.h
+++ b/src/RepRap.h
@@ -23,6 +23,7 @@ Licence: GPL
#include "RepRapFirmware.h"
#include "MessageType.h"
+#include "RTOSIface.h"
enum class ResponseSource
{
@@ -141,6 +142,7 @@ private:
Display *display;
#endif
+ Mutex toolListMutex, messageBoxMutex;
Tool* toolList; // the tool list is sorted in order of increasing tool number
Tool* currentTool;
uint32_t lastWarningMillis; // When we last sent a warning message for things that can happen very often