diff options
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r-- | src/RepRapFirmware.h | 2 |
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; |