Przeglądaj źródła

[2.0.x] NANODLP_Z_SYNC requires linear axes (#10240)

Rob Power 7 lat temu
rodzic
commit
d1f14202a9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/gcode/motion/G0_G1.cpp

+ 1
- 1
Marlin/src/gcode/motion/G0_G1.cpp Wyświetl plik

79
 
79
 
80
     #if ENABLED(NANODLP_Z_SYNC)
80
     #if ENABLED(NANODLP_Z_SYNC)
81
       #if ENABLED(NANODLP_ALL_AXIS)
81
       #if ENABLED(NANODLP_ALL_AXIS)
82
-        #define _MOVE_SYNC true                 // For any move wait and output sync message
82
+        #define _MOVE_SYNC parser.seenval('X') || parser.seenval('Y') || parser.seenval('Z')  // For any move wait and output sync message
83
       #else
83
       #else
84
         #define _MOVE_SYNC parser.seenval('Z')  // Only for Z move
84
         #define _MOVE_SYNC parser.seenval('Z')  // Only for Z move
85
       #endif
85
       #endif

Ładowanie…
Anuluj
Zapisz