|
@@ -22,12 +22,6 @@
|
22
|
22
|
#ifndef MARLIN_H
|
23
|
23
|
#define MARLIN_H
|
24
|
24
|
|
25
|
|
-#define FORCE_INLINE __attribute__((always_inline)) inline
|
26
|
|
-/**
|
27
|
|
- * Compiler warning on unused variable.
|
28
|
|
- */
|
29
|
|
-#define UNUSED(x) (void) (x)
|
30
|
|
-
|
31
|
25
|
#include <math.h>
|
32
|
26
|
#include <stdio.h>
|
33
|
27
|
#include <stdlib.h>
|
|
@@ -265,11 +259,6 @@ inline void refresh_cmd_timeout() { previous_cmd_ms = millis(); }
|
265
|
259
|
void setPwmFrequency(uint8_t pin, int val);
|
266
|
260
|
#endif
|
267
|
261
|
|
268
|
|
-#ifndef CRITICAL_SECTION_START
|
269
|
|
- #define CRITICAL_SECTION_START unsigned char _sreg = SREG; cli();
|
270
|
|
- #define CRITICAL_SECTION_END SREG = _sreg;
|
271
|
|
-#endif
|
272
|
|
-
|
273
|
262
|
/**
|
274
|
263
|
* Feedrate scaling and conversion
|
275
|
264
|
*/
|