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/RepRapFirmware.h
parent22e0ac40dd0f7fb5a362476d054bfbb6e8aa4293 (diff)
Thread safe file system
Various changes to maske the filesystem thread safe
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r--src/RepRapFirmware.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/RepRapFirmware.h b/src/RepRapFirmware.h
index 41202d73..707b120b 100644
--- a/src/RepRapFirmware.h
+++ b/src/RepRapFirmware.h
@@ -117,12 +117,16 @@ extern "C" void debugPrintf(const char* fmt, ...) __attribute__ ((format (printf
// Functions and globals not part of any class
#ifdef RTOS
+
void delay(uint32_t ms);
+
#else
+
inline void delay(uint32_t ms)
{
coreDelay(ms);
}
+
#endif
bool StringEndsWith(const char* string, const char* ending);