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/RepRapFirmware.h | |
parent | 22e0ac40dd0f7fb5a362476d054bfbb6e8aa4293 (diff) |
Thread safe file system
Various changes to maske the filesystem thread safe
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r-- | src/RepRapFirmware.h | 4 |
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); |