danym21 5 лет назад
Родитель
Сommit
6e8dcba698
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      Marlin/src/gcode/calibrate/G28.cpp

+ 3
- 3
Marlin/src/gcode/calibrate/G28.cpp Просмотреть файл

@@ -262,7 +262,7 @@ void GcodeSuite::G28(const bool always_home_all) {
262 262
 
263 263
   #if HAS_HOMING_CURRENT
264 264
     auto debug_current = [](const char * const s, const int16_t a, const int16_t b){
265
-      DEBUG_ECHO(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b);
265
+      DEBUG_ECHO(s); DEBUG_ECHOLNPAIR(" current: ", a, " -> ", b);
266 266
     };
267 267
     #if HAS_CURRENT_HOME(X)
268 268
       const int16_t tmc_save_current_X = stepperX.getMilliamps();
@@ -288,7 +288,7 @@ void GcodeSuite::G28(const bool always_home_all) {
288 288
 
289 289
   #if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
290 290
     if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to spreadCycle...");
291
-    process_subcommands_now_P(PSTR("M569S0XY"));
291
+    process_subcommands_now_P(PSTR("M569 S0 X Y"));
292 292
   #endif
293 293
 
294 294
   #if ENABLED(IMPROVE_HOMING_RELIABILITY)
@@ -517,7 +517,7 @@ void GcodeSuite::G28(const bool always_home_all) {
517 517
 
518 518
   #if BOTH(STEALTHCHOP_XY, HOME_USING_SPREADCYCLE)
519 519
     if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Set XY to StealthChop...");
520
-    process_subcommands_now_P(PSTR("M569S1XY"));
520
+    process_subcommands_now_P(PSTR("M569 S1 X Y"));
521 521
   #endif
522 522
 
523 523
   ui.refresh();

Загрузка…
Отмена
Сохранить