|
@@ -22,7 +22,7 @@
|
22
|
22
|
|
23
|
23
|
#include "../../inc/MarlinConfig.h"
|
24
|
24
|
|
25
|
|
-#if ENABLED(DELTA) || ENABLED(Z_DUAL_ENDSTOPS)
|
|
25
|
+#if ENABLED(DELTA) || ENABLED(X_DUAL_ENDSTOPS) || ENABLED(Y_DUAL_ENDSTOPS) || ENABLED(Z_DUAL_ENDSTOPS)
|
26
|
26
|
|
27
|
27
|
#include "../gcode.h"
|
28
|
28
|
|
|
@@ -67,7 +67,7 @@
|
67
|
67
|
* M666: Set Dual Endstops offsets for X, Y, and/or Z.
|
68
|
68
|
* With no parameters report current offsets.
|
69
|
69
|
*/
|
70
|
|
- inline void gcode_M666() {
|
|
70
|
+ inline void GcodeSuite::M666() {
|
71
|
71
|
bool report = true;
|
72
|
72
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
73
|
73
|
if (parser.seen('X')) {
|
|
@@ -104,4 +104,4 @@
|
104
|
104
|
|
105
|
105
|
#endif // X_DUAL_ENDSTOPS || Y_DUAL_ENDSTOPS || Z_DUAL_ENDSTOPS
|
106
|
106
|
|
107
|
|
-#endif // DELTA || Z_DUAL_ENDSTOPS
|
|
107
|
+#endif // DELTA || X_DUAL_ENDSTOPS || Y_DUAL_ENDSTOPS || Z_DUAL_ENDSTOPS
|