Add HAS_FAST_MOVES

This commit is contained in:
Scott Lahteine
2020-10-04 17:29:12 -05:00
parent d88e694d06
commit 7e0524109e
3 changed files with 10 additions and 22 deletions

View File

@@ -298,6 +298,10 @@
#include "../feature/encoder_i2c.h"
#endif
#if IS_SCARA || defined(G0_FEEDRATE)
#define HAS_FAST_MOVES 1
#endif
enum AxisRelative : uint8_t { REL_X, REL_Y, REL_Z, REL_E, E_MODE_ABS, E_MODE_REL };
class GcodeSuite {
@@ -404,11 +408,7 @@ public:
private:
static void G0_G1(
#if IS_SCARA || defined(G0_FEEDRATE)
const bool fast_move=false
#endif
);
static void G0_G1(TERN_(HAS_FAST_MOVES, const bool fast_move=false));
TERN_(ARC_SUPPORT, static void G2_G3(const bool clockwise));