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-03-30 20:39:09 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-03-30 20:39:09 +0300
commitde270d2a00fd83cc3961a749432bff940601f1dd (patch)
tree7a9f781a99def2ffa10734c1053d94e0cb3651d4 /src/Tasks.h
parent22e0ac40dd0f7fb5a362476d054bfbb6e8aa4293 (diff)
Thread safe file system
Various changes to maske the filesystem thread safe
Diffstat (limited to 'src/Tasks.h')
-rw-r--r--src/Tasks.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Tasks.h b/src/Tasks.h
index 255f00d4..852149df 100644
--- a/src/Tasks.h
+++ b/src/Tasks.h
@@ -10,13 +10,7 @@
#include "RepRapFirmware.h"
#include "MessageType.h"
-
-#ifdef RTOS
-typedef void *TaskHandle_t; // copy of the FreeRTOS definition, to avoid having to include the FreeRTOS files here
-#endif
-
-void setup();
-void loop();
+#include "RTOSIface.h"
namespace Tasks
{
@@ -27,6 +21,7 @@ namespace Tasks
#else
void GetStackUsage(uint32_t* currentStack, uint32_t* maxStack, uint32_t* neverUsed);
#endif
+ MutexHandle GetSpiMutextHandle();
}
#endif /* SRC_TASKS_H_ */