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:
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r--src/RepRapFirmware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/RepRapFirmware.h b/src/RepRapFirmware.h
index e83c98e0..c54e5fb0 100644
--- a/src/RepRapFirmware.h
+++ b/src/RepRapFirmware.h
@@ -98,6 +98,8 @@ inline void memcpyf(float *dst, const float *src, size_t numFloats) noexcept
#endif
+#define SPEED_CRITICAL __attribute__((optimize("O2")))
+
// API level definition.
// ApiLevel 1 is the first level that supports rr_model.
constexpr unsigned int ApiLevel = 1;