|
@@ -25,7 +25,7 @@
|
25
|
25
|
#if SAVED_POSITIONS
|
26
|
26
|
|
27
|
27
|
#include "../../../core/language.h"
|
28
|
|
-#include "../../module/planner.h"
|
|
28
|
+#include "../../../module/planner.h"
|
29
|
29
|
#include "../../gcode.h"
|
30
|
30
|
#include "../../../module/motion.h"
|
31
|
31
|
|
|
@@ -48,7 +48,7 @@ void GcodeSuite::G61(void) {
|
48
|
48
|
#endif
|
49
|
49
|
|
50
|
50
|
// No saved position? No axes being restored?
|
51
|
|
- if (!TEST(saved_slots, slot) || !parser.seen("XYZ")) return;
|
|
51
|
+ if (!TEST(saved_slots[slot >> 3], slot & 0b00000111) || !parser.seen("XYZ")) return;
|
52
|
52
|
|
53
|
53
|
// Apply any given feedrate over 0.0
|
54
|
54
|
const float fr = parser.linearval('F');
|