diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-03-30 20:39:09 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-03-30 20:39:09 +0300 |
commit | de270d2a00fd83cc3961a749432bff940601f1dd (patch) | |
tree | 7a9f781a99def2ffa10734c1053d94e0cb3651d4 /src/Tasks.h | |
parent | 22e0ac40dd0f7fb5a362476d054bfbb6e8aa4293 (diff) |
Thread safe file system
Various changes to maske the filesystem thread safe
Diffstat (limited to 'src/Tasks.h')
-rw-r--r-- | src/Tasks.h | 9 |
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_ */ |