Ver código fonte

Option to show babysteps total since G28 (#13580)

Roxy-3D 5 anos atrás
pai
commit
9cee81d47e
91 arquivos alterados com 443 adições e 123 exclusões
  1. 2
    0
      Marlin/Configuration_adv.h
  2. 13
    0
      Marlin/src/core/utility.cpp
  3. 3
    0
      Marlin/src/core/utility.h
  4. 4
    2
      Marlin/src/feature/I2CPositionEncoder.cpp
  5. 135
    0
      Marlin/src/feature/babystep.cpp
  6. 63
    0
      Marlin/src/feature/babystep.h
  7. 1
    1
      Marlin/src/gcode/calibrate/G28.cpp
  8. 3
    2
      Marlin/src/gcode/motion/M290.cpp
  9. 1
    1
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  10. 1
    1
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp
  11. 7
    3
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  12. 3
    0
      Marlin/src/lcd/language/language_en.h
  13. 4
    2
      Marlin/src/lcd/menu/menu.cpp
  14. 38
    10
      Marlin/src/lcd/menu/menu_tune.cpp
  15. 12
    4
      Marlin/src/module/motion.cpp
  16. 2
    84
      Marlin/src/module/temperature.cpp
  17. 0
    8
      Marlin/src/module/temperature.h
  18. 2
    2
      buildroot/share/tests/megaatmega2560-tests
  19. 2
    0
      config/default/Configuration_adv.h
  20. 2
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  21. 2
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  22. 2
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  23. 2
    0
      config/examples/Anet/A2/Configuration_adv.h
  24. 2
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  25. 2
    0
      config/examples/Anet/A6/Configuration_adv.h
  26. 2
    0
      config/examples/Anet/A8/Configuration_adv.h
  27. 2
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  28. 2
    0
      config/examples/ArmEd/Configuration_adv.h
  29. 2
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  30. 2
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  31. 2
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  32. 2
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  33. 2
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  34. 2
    0
      config/examples/Cartesio/Configuration_adv.h
  35. 2
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  36. 2
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  37. 2
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  38. 2
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  39. 2
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  40. 2
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  41. 2
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  42. 2
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  43. 2
    0
      config/examples/Einstart-S/Configuration_adv.h
  44. 2
    0
      config/examples/Felix/Configuration_adv.h
  45. 2
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  46. 2
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  47. 2
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  48. 5
    3
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  49. 2
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  50. 2
    0
      config/examples/Geeetech/A10M/Configuration_adv.h
  51. 2
    0
      config/examples/Geeetech/A20M/Configuration_adv.h
  52. 2
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  53. 2
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  54. 2
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  55. 2
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  56. 2
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  57. 2
    0
      config/examples/MakerParts/Configuration_adv.h
  58. 2
    0
      config/examples/Malyan/M150/Configuration_adv.h
  59. 2
    0
      config/examples/Malyan/M200/Configuration_adv.h
  60. 2
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  61. 2
    0
      config/examples/Mks/Robin/Configuration_adv.h
  62. 2
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  63. 2
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  64. 2
    0
      config/examples/RigidBot/Configuration_adv.h
  65. 2
    0
      config/examples/SCARA/Configuration_adv.h
  66. 2
    0
      config/examples/Sanguinololu/Configuration_adv.h
  67. 2
    0
      config/examples/TheBorg/Configuration_adv.h
  68. 2
    0
      config/examples/TinyBoy2/Configuration_adv.h
  69. 2
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  70. 2
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  71. 2
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  72. 2
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  73. 2
    0
      config/examples/VORONDesign/Configuration_adv.h
  74. 2
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  75. 2
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  76. 2
    0
      config/examples/WASP/PowerWASP/Configuration_adv.h
  77. 2
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  78. 2
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  79. 2
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  80. 2
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  81. 2
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  82. 2
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  83. 2
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  84. 2
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  85. 2
    0
      config/examples/delta/generic/Configuration_adv.h
  86. 2
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  87. 2
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  88. 2
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  89. 2
    0
      config/examples/makibox/Configuration_adv.h
  90. 2
    0
      config/examples/tvrrug/Round2/Configuration_adv.h
  91. 2
    0
      config/examples/wt150/Configuration_adv.h

+ 2
- 0
Marlin/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 13
- 0
Marlin/src/core/utility.cpp Ver arquivo

@@ -214,6 +214,19 @@ void safe_delay(millis_t ms) {
214 214
     return &conv[1];
215 215
   }
216 216
 
217
+  // Convert signed float to string (5 digit) with -1.2345 / _0.0000 / +1.2345 format
218
+  char* ftostr54sign(const float &f, char plus/*=' '*/) {
219
+    long i = (f * 100000 + (f < 0 ? -5: 5)) / 10;
220
+    conv[0] = i ? MINUSOR(i, plus) : ' ';
221
+    conv[1] = DIGIMOD(i, 10000);
222
+    conv[2] = '.';
223
+    conv[3] = DIGIMOD(i, 1000);
224
+    conv[4] = DIGIMOD(i, 100);
225
+    conv[5] = DIGIMOD(i, 10);
226
+    conv[6] = DIGIMOD(i, 1);
227
+    return &conv[0];
228
+  }
229
+
217 230
   // Convert unsigned float to rj string with 12345 format
218 231
   char* ftostr5rj(const float &f) {
219 232
     const long i = ((f < 0 ? -f : f) * 10 + 5) / 10;

+ 3
- 0
Marlin/src/core/utility.h Ver arquivo

@@ -91,6 +91,9 @@ inline void serial_delay(const millis_t ms) {
91 91
   // Convert signed float to string (6 digit) with -1.234 / _0.000 / +1.234 format
92 92
   char* ftostr43sign(const float &x, char plus=' ');
93 93
 
94
+  // Convert signed float to string (5 digit) with -1.2345 / _0.0000 / +1.2345 format
95
+  char* ftostr54sign(const float &x, char plus=' ');
96
+
94 97
   // Convert unsigned float to rj string with 12345 format
95 98
   char* ftostr5rj(const float &x);
96 99
 

+ 4
- 2
Marlin/src/feature/I2CPositionEncoder.cpp Ver arquivo

@@ -38,6 +38,8 @@
38 38
 #include "../module/stepper.h"
39 39
 #include "../gcode/parser.h"
40 40
 
41
+#include "../feature/babystep.h"
42
+
41 43
 #include <Wire.h>
42 44
 
43 45
 void I2CPositionEncoder::init(const uint8_t address, const AxisEnum axis) {
@@ -169,7 +171,7 @@ void I2CPositionEncoder::update() {
169 171
             const int32_t errorP = int32_t(sumP * (1.0f / (I2CPE_ERR_PRST_ARRAY_SIZE)));
170 172
             SERIAL_ECHO(axis_codes[encoderAxis]);
171 173
             SERIAL_ECHOLNPAIR(" - err detected: ", errorP * planner.steps_to_mm[encoderAxis], "mm; correcting!");
172
-            thermalManager.babystepsTodo[encoderAxis] = -LROUND(errorP);
174
+            babystep.add_steps(encoderAxis, -LROUND(errorP));
173 175
             errPrstIdx = 0;
174 176
           }
175 177
         }
@@ -180,7 +182,7 @@ void I2CPositionEncoder::update() {
180 182
       if (ABS(error) > threshold * planner.settings.axis_steps_per_mm[encoderAxis]) {
181 183
         //SERIAL_ECHOLN(error);
182 184
         //SERIAL_ECHOLN(position);
183
-        thermalManager.babystepsTodo[encoderAxis] = -LROUND(error / 2);
185
+        babystep.add_steps(encoderAxis, -LROUND(error / 2));
184 186
       }
185 187
     #endif
186 188
 

+ 135
- 0
Marlin/src/feature/babystep.cpp Ver arquivo

@@ -0,0 +1,135 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+#include "../inc/MarlinConfig.h"
24
+
25
+#if ENABLED(BABYSTEPPING)
26
+
27
+#include "babystep.h"
28
+#include "../Marlin.h"
29
+#include "../module/planner.h"
30
+#include "../module/stepper.h"
31
+
32
+#if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
33
+  #include "../gcode/gcode.h"
34
+#endif
35
+
36
+Babystep babystep;
37
+
38
+volatile int16_t Babystep::todo[BS_TODO_AXIS(Z_AXIS) + 1];
39
+
40
+#if HAS_LCD_MENU
41
+  int16_t Babystep::accum;
42
+  #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
43
+    int16_t Babystep::axis_total[BS_TOTAL_AXIS(Z_AXIS) + 1];
44
+  #endif
45
+#endif
46
+
47
+void Babystep::step_axis(const AxisEnum axis) {
48
+  const int16_t curTodo = todo[BS_TODO_AXIS(axis)]; // get rid of volatile for performance
49
+  if (curTodo) {
50
+    stepper.babystep((AxisEnum)axis, curTodo > 0);
51
+    if (curTodo > 0) todo[BS_TODO_AXIS(axis)]--; else todo[BS_TODO_AXIS(axis)]++;
52
+  }
53
+}
54
+
55
+void Babystep::task() {
56
+  #if EITHER(BABYSTEP_XY, I2C_POSITION_ENCODERS)
57
+    LOOP_XYZ(axis) step_axis((AxisEnum)axis);
58
+  #else
59
+    step_axis(Z_AXIS);
60
+  #endif
61
+}
62
+
63
+void Babystep::add_mm(const AxisEnum axis, const float &mm) {
64
+  add_steps(axis, mm * planner.settings.axis_steps_per_mm[axis]);
65
+}
66
+
67
+void Babystep::add_steps(const AxisEnum axis, const int32_t distance) {
68
+
69
+  #if ENABLED(BABYSTEP_WITHOUT_HOMING)
70
+    #define CAN_BABYSTEP(AXIS) true
71
+  #else
72
+    extern uint8_t axis_known_position;
73
+    #define CAN_BABYSTEP(AXIS) TEST(axis_known_position, AXIS)
74
+  #endif
75
+
76
+  if (!CAN_BABYSTEP(axis)) return;
77
+
78
+  #if HAS_LCD_MENU
79
+    accum += distance; // Count up babysteps for the UI
80
+    #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
81
+      axis_total[BS_TOTAL_AXIS(axis)] += distance;
82
+    #endif
83
+  #endif
84
+
85
+  #if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
86
+    #define BSA_ENABLE(AXIS) do{ switch (AXIS) { case X_AXIS: enable_X(); break; case Y_AXIS: enable_Y(); break; case Z_AXIS: enable_Z(); } }while(0)
87
+  #else
88
+    #define BSA_ENABLE(AXIS) NOOP
89
+  #endif
90
+
91
+  #if IS_CORE
92
+    #if ENABLED(BABYSTEP_XY)
93
+      switch (axis) {
94
+        case CORE_AXIS_1: // X on CoreXY and CoreXZ, Y on CoreYZ
95
+          BSA_ENABLE(CORE_AXIS_1);
96
+          BSA_ENABLE(CORE_AXIS_2);
97
+          todo[CORE_AXIS_1] += distance * 2;
98
+          todo[CORE_AXIS_2] += distance * 2;
99
+          break;
100
+        case CORE_AXIS_2: // Y on CoreXY, Z on CoreXZ and CoreYZ
101
+          BSA_ENABLE(CORE_AXIS_1);
102
+          BSA_ENABLE(CORE_AXIS_2);
103
+          todo[CORE_AXIS_1] += CORESIGN(distance * 2);
104
+          todo[CORE_AXIS_2] -= CORESIGN(distance * 2);
105
+          break;
106
+        case NORMAL_AXIS: // Z on CoreXY, Y on CoreXZ, X on CoreYZ
107
+        default:
108
+          BSA_ENABLE(NORMAL_AXIS);
109
+          todo[NORMAL_AXIS] += distance;
110
+          break;
111
+      }
112
+    #elif CORE_IS_XZ || CORE_IS_YZ
113
+      // Only Z stepping needs to be handled here
114
+      BSA_ENABLE(CORE_AXIS_1);
115
+      BSA_ENABLE(CORE_AXIS_2);
116
+      todo[CORE_AXIS_1] += CORESIGN(distance * 2);
117
+      todo[CORE_AXIS_2] -= CORESIGN(distance * 2);
118
+    #else
119
+      BSA_ENABLE(Z_AXIS);
120
+      todo[Z_AXIS] += distance;
121
+    #endif
122
+  #else
123
+    #if ENABLED(BABYSTEP_XY)
124
+      BSA_ENABLE(axis);
125
+    #else
126
+      BSA_ENABLE(Z_AXIS);
127
+    #endif
128
+    todo[BS_TODO_AXIS(axis)] += distance;
129
+  #endif
130
+  #if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
131
+    gcode.reset_stepper_timeout();
132
+  #endif
133
+}
134
+
135
+#endif // BABYSTEPPING

+ 63
- 0
Marlin/src/feature/babystep.h Ver arquivo

@@ -0,0 +1,63 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+#include "../inc/MarlinConfigPre.h"
25
+#include "../core/enum.h"
26
+
27
+#if IS_CORE || EITHER(BABYSTEP_XY, I2C_POSITION_ENCODERS)
28
+  #define BS_TODO_AXIS(A) A
29
+#else
30
+  #define BS_TODO_AXIS(A) 0
31
+#endif
32
+
33
+#if HAS_LCD_MENU && ENABLED(BABYSTEP_DISPLAY_TOTAL)
34
+  #if ENABLED(BABYSTEP_XY)
35
+    #define BS_TOTAL_AXIS(A) A
36
+  #else
37
+    #define BS_TOTAL_AXIS(A) 0
38
+  #endif
39
+#endif
40
+
41
+class Babystep {
42
+public:
43
+  static volatile int16_t todo[BS_TODO_AXIS(Z_AXIS) + 1];
44
+  #if HAS_LCD_MENU
45
+    static int16_t accum;                                     // Total babysteps in current edit
46
+    #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
47
+      static int16_t axis_total[BS_TOTAL_AXIS(Z_AXIS) + 1];   // Total babysteps since G28
48
+      static inline void reset_total(const AxisEnum axis) {
49
+        #if ENABLED(BABYSTEP_XY)
50
+          if (axis == Z_AXIS)
51
+        #endif
52
+            axis_total[BS_TOTAL_AXIS(axis)] = 0;
53
+      }
54
+    #endif
55
+  #endif
56
+  static void add_steps(const AxisEnum axis, const int32_t distance);
57
+  static void add_mm(const AxisEnum axis, const float &mm);
58
+  static void task();
59
+private:
60
+  static void step_axis(const AxisEnum axis);
61
+};
62
+
63
+extern Babystep babystep;

+ 1
- 1
Marlin/src/gcode/calibrate/G28.cpp Ver arquivo

@@ -428,7 +428,7 @@ void GcodeSuite::G28(const bool always_home_all) {
428 428
 
429 429
   // Restore the active tool after homing
430 430
   #if HOTENDS > 1 && (DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE))
431
-    #if ENABLED(PARKING_EXTRUDER) || ENABLED(DUAL_X_CARRIAGE)
431
+    #if EITHER(PARKING_EXTRUDER, DUAL_X_CARRIAGE)
432 432
       #define NO_FETCH false // fetch the previous toolhead
433 433
     #else
434 434
       #define NO_FETCH true

+ 3
- 2
Marlin/src/gcode/motion/M290.cpp Ver arquivo

@@ -25,6 +25,7 @@
25 25
 #if ENABLED(BABYSTEPPING)
26 26
 
27 27
 #include "../gcode.h"
28
+#include "../../feature/babystep.h"
28 29
 #include "../../module/probe.h"
29 30
 #include "../../module/temperature.h"
30 31
 #include "../../module/planner.h"
@@ -64,7 +65,7 @@ void GcodeSuite::M290() {
64 65
     for (uint8_t a = X_AXIS; a <= Z_AXIS; a++)
65 66
       if (parser.seenval(axis_codes[a]) || (a == Z_AXIS && parser.seenval('S'))) {
66 67
         const float offs = constrain(parser.value_axis_units((AxisEnum)a), -2, 2);
67
-        thermalManager.babystep_axis((AxisEnum)a, offs * planner.settings.axis_steps_per_mm[a]);
68
+        babystep.add_mm((AxisEnum)a, offs);
68 69
         #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
69 70
           if (a == Z_AXIS && (!parser.seen('P') || parser.value_bool())) mod_zprobe_zoffset(offs);
70 71
         #endif
@@ -72,7 +73,7 @@ void GcodeSuite::M290() {
72 73
   #else
73 74
     if (parser.seenval('Z') || parser.seenval('S')) {
74 75
       const float offs = constrain(parser.value_axis_units(Z_AXIS), -2, 2);
75
-      thermalManager.babystep_axis(Z_AXIS, offs * planner.settings.axis_steps_per_mm[Z_AXIS]);
76
+      babystep.add_mm(Z_AXIS, offs);
76 77
       #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
77 78
         if (!parser.seen('P') || parser.value_bool()) mod_zprobe_zoffset(offs);
78 79
       #endif

+ 1
- 1
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp Ver arquivo

@@ -1025,7 +1025,7 @@ void MarlinUI::draw_status_screen() {
1025 1025
   }
1026 1026
 
1027 1027
   void draw_edit_screen(PGM_P const pstr, const char* const value/*=NULL*/) {
1028
-    lcd_moveto(1, 1);
1028
+    lcd_moveto(0, 1);
1029 1029
     lcd_put_u8str_P(pstr);
1030 1030
     if (value != NULL) {
1031 1031
       lcd_put_wchar(':');

+ 1
- 1
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp Ver arquivo

@@ -389,7 +389,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
389 389
     if (value != NULL) {
390 390
       lcd_put_wchar(':');
391 391
       if (extra_row) {
392
-        // Assume the value is numeric (with no descender)
392
+        // Assume that value is numeric (with no descender)
393 393
         baseline += EDIT_FONT_ASCENT + 2;
394 394
         onpage = PAGE_CONTAINS(baseline - (EDIT_FONT_ASCENT - 1), baseline);
395 395
       }

+ 7
- 3
Marlin/src/lcd/extensible_ui/ui_api.cpp Ver arquivo

@@ -97,6 +97,10 @@
97 97
   #include "../../feature/runout.h"
98 98
 #endif
99 99
 
100
+#if ENABLED(BABYSTEPPING)
101
+  #include "../../feature/babystep.h"
102
+#endif
103
+
100 104
 inline float clamp(const float value, const float minimum, const float maximum) {
101 105
   return MAX(MIN(value, maximum), minimum);
102 106
 }
@@ -584,10 +588,10 @@ namespace ExtUI {
584 588
     bool babystepAxis_steps(const int16_t steps, const axis_t axis) {
585 589
       switch (axis) {
586 590
         #if ENABLED(BABYSTEP_XY)
587
-          case X: thermalManager.babystep_axis(X_AXIS, steps); break;
588
-          case Y: thermalManager.babystep_axis(Y_AXIS, steps); break;
591
+          case X: babystep.add_steps(X_AXIS, steps); break;
592
+          case Y: babystep.add_steps(Y_AXIS, steps); break;
589 593
         #endif
590
-        case Z: thermalManager.babystep_axis(Z_AXIS, steps); break;
594
+        case Z: babystep.add_steps(Z_AXIS, steps); break;
591 595
         default: return false;
592 596
       };
593 597
       return true;

+ 3
- 0
Marlin/src/lcd/language/language_en.h Ver arquivo

@@ -903,6 +903,9 @@
903 903
 #ifndef MSG_BABYSTEP_Z
904 904
   #define MSG_BABYSTEP_Z                      _UxGT("Babystep Z")
905 905
 #endif
906
+#ifndef MSG_BABYSTEP_TOTAL
907
+  #define MSG_BABYSTEP_TOTAL                  _UxGT("Total")
908
+#endif
906 909
 #ifndef MSG_ENDSTOP_ABORT
907 910
   #define MSG_ENDSTOP_ABORT                   _UxGT("Endstop abort")
908 911
 #endif

+ 4
- 2
Marlin/src/lcd/menu/menu.cpp Ver arquivo

@@ -37,7 +37,7 @@
37 37
   #include "../../module/configuration_store.h"
38 38
 #endif
39 39
 
40
-#if WATCH_HOTENDS || WATCH_BED || ENABLED(BABYSTEP_ZPROBE_OFFSET)
40
+#if WATCH_HOTENDS || WATCH_BED
41 41
   #include "../../module/temperature.h"
42 42
 #endif
43 43
 
@@ -352,6 +352,8 @@ void MarlinUI::completion_feedback(const bool good/*=true*/) {
352 352
 
353 353
 #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
354 354
 
355
+  #include "../../feature/babystep.h"
356
+
355 357
   void lcd_babystep_zoffset() {
356 358
     if (ui.use_click()) return ui.goto_previous_screen_no_defer();
357 359
     ui.defer_status_screen();
@@ -376,7 +378,7 @@ void MarlinUI::completion_feedback(const bool good/*=true*/) {
376 378
                   ;
377 379
       if (WITHIN(new_offs, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX)) {
378 380
 
379
-        thermalManager.babystep_axis(Z_AXIS, babystep_increment);
381
+        babystep.add_steps(Z_AXIS, babystep_increment);
380 382
 
381 383
         if (do_probe) zprobe_zoffset = new_offs;
382 384
         #if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)

+ 38
- 10
Marlin/src/lcd/menu/menu_tune.cpp Ver arquivo

@@ -65,32 +65,60 @@
65 65
 
66 66
 #if ENABLED(BABYSTEPPING)
67 67
 
68
-  long babysteps_done = 0;
68
+  #include "../../feature/babystep.h"
69
+  #include "../lcdprint.h"
70
+  #if HAS_GRAPHICAL_LCD
71
+    #include "../dogm/ultralcd_DOGM.h"
72
+  #endif
69 73
 
70
-  void _lcd_babystep(const AxisEnum axis, PGM_P msg) {
74
+  void _lcd_babystep(const AxisEnum axis, PGM_P const msg) {
71 75
     if (ui.use_click()) return ui.goto_previous_screen_no_defer();
72 76
     ui.encoder_direction_normal();
73 77
     if (ui.encoderPosition) {
74
-      const int16_t babystep_increment = (int32_t)ui.encoderPosition * (BABYSTEP_MULTIPLICATOR);
78
+      const int16_t steps = (int32_t)ui.encoderPosition * (BABYSTEP_MULTIPLICATOR);
75 79
       ui.encoderPosition = 0;
76 80
       ui.refresh(LCDVIEW_REDRAW_NOW);
77
-      thermalManager.babystep_axis(axis, babystep_increment);
78
-      babysteps_done += babystep_increment;
81
+      babystep.add_steps(axis, steps);
82
+    }
83
+    if (ui.should_draw()) {
84
+      const float spm = planner.steps_to_mm[axis];
85
+      draw_edit_screen(msg, ftostr54sign(spm * babystep.accum));
86
+      #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
87
+        const bool in_view = (true
88
+          #if HAS_GRAPHICAL_LCD
89
+            && PAGE_CONTAINS(LCD_PIXEL_HEIGHT - MENU_FONT_HEIGHT, LCD_PIXEL_HEIGHT - 1)
90
+          #endif
91
+        );
92
+        if (in_view) {
93
+          #if HAS_GRAPHICAL_LCD
94
+            ui.set_font(FONT_MENU);
95
+            lcd_moveto(0, LCD_PIXEL_HEIGHT - MENU_FONT_DESCENT);
96
+          #else
97
+            lcd_moveto(0, LCD_HEIGHT - 1);
98
+          #endif
99
+          lcd_put_u8str_P(PSTR(MSG_BABYSTEP_TOTAL ":"));
100
+          lcd_put_u8str(ftostr54sign(spm * babystep.axis_total[BS_TOTAL_AXIS(axis)]));
101
+        }
102
+      #endif
79 103
     }
80
-    if (ui.should_draw())
81
-      draw_edit_screen(msg, ftostr43sign(planner.steps_to_mm[axis] * babysteps_done));
104
+  }
105
+
106
+  inline void _lcd_babystep_go(const screenFunc_t screen) {
107
+    ui.goto_screen(screen);
108
+    ui.defer_status_screen();
109
+    babystep.accum = 0;
82 110
   }
83 111
 
84 112
   #if ENABLED(BABYSTEP_XY)
85 113
     void _lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEP_X)); }
86 114
     void _lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEP_Y)); }
87
-    void lcd_babystep_x() { ui.goto_screen(_lcd_babystep_x); babysteps_done = 0; ui.defer_status_screen(); }
88
-    void lcd_babystep_y() { ui.goto_screen(_lcd_babystep_y); babysteps_done = 0; ui.defer_status_screen(); }
115
+    void lcd_babystep_x() { _lcd_babystep_go(_lcd_babystep_x); }
116
+    void lcd_babystep_y() { _lcd_babystep_go(_lcd_babystep_y); }
89 117
   #endif
90 118
 
91 119
   #if DISABLED(BABYSTEP_ZPROBE_OFFSET)
92 120
     void _lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEP_Z)); }
93
-    void lcd_babystep_z() { ui.goto_screen(_lcd_babystep_z); babysteps_done = 0; ui.defer_status_screen(); }
121
+    void lcd_babystep_z() { _lcd_babystep_go(_lcd_babystep_z); }
94 122
   #endif
95 123
 
96 124
 #endif // BABYSTEPPING

+ 12
- 4
Marlin/src/module/motion.cpp Ver arquivo

@@ -63,6 +63,10 @@
63 63
   #include "../feature/fwretract.h"
64 64
 #endif
65 65
 
66
+#if ENABLED(BABYSTEP_DISPLAY_TOTAL)
67
+  #include "../feature/babystep.h"
68
+#endif
69
+
66 70
 #define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE)
67 71
 #include "../core/debug_out.h"
68 72
 
@@ -1316,6 +1320,14 @@ void set_axis_is_at_home(const AxisEnum axis) {
1316 1320
     }
1317 1321
   #endif
1318 1322
 
1323
+  #if ENABLED(I2C_POSITION_ENCODERS)
1324
+    I2CPEM.homed(axis);
1325
+  #endif
1326
+
1327
+  #if ENABLED(BABYSTEP_DISPLAY_TOTAL)
1328
+    babystep.reset_total(axis);
1329
+  #endif
1330
+
1319 1331
   if (DEBUGGING(LEVELING)) {
1320 1332
     #if HAS_HOME_OFFSET
1321 1333
       DEBUG_ECHOLNPAIR("> home_offset[", axis_codes[axis], "] = ", home_offset[axis]);
@@ -1323,10 +1335,6 @@ void set_axis_is_at_home(const AxisEnum axis) {
1323 1335
     DEBUG_POS("", current_position);
1324 1336
     DEBUG_ECHOLNPAIR("<<< set_axis_is_at_home(", axis_codes[axis], ")");
1325 1337
   }
1326
-
1327
-  #if ENABLED(I2C_POSITION_ENCODERS)
1328
-    I2CPEM.homed(axis);
1329
-  #endif
1330 1338
 }
1331 1339
 
1332 1340
 /**

+ 2
- 84
Marlin/src/module/temperature.cpp Ver arquivo

@@ -44,7 +44,7 @@
44 44
 #endif
45 45
 
46 46
 #if ENABLED(BABYSTEPPING)
47
-  #include "../module/motion.h"
47
+  #include "../feature/babystep.h"
48 48
   #if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
49 49
     #include "../gcode/gcode.h"
50 50
   #endif
@@ -239,10 +239,6 @@ hotend_info_t Temperature::temp_hotend[HOTENDS]; // = { 0 }
239 239
   //hotend_pid_t Temperature::pid[HOTENDS];
240 240
 #endif
241 241
 
242
-#if ENABLED(BABYSTEPPING)
243
-  volatile int16_t Temperature::babystepsTodo[XYZ] = { 0 };
244
-#endif
245
-
246 242
 #if ENABLED(PREVENT_COLD_EXTRUSION)
247 243
   bool Temperature::allow_cold_extrude = false;
248 244
   int16_t Temperature::extrude_min_temp = EXTRUDE_MINTEMP;
@@ -2516,21 +2512,7 @@ void Temperature::isr() {
2516 2512
   //
2517 2513
 
2518 2514
   #if ENABLED(BABYSTEPPING)
2519
-    #if EITHER(BABYSTEP_XY, I2C_POSITION_ENCODERS)
2520
-      LOOP_XYZ(axis) {
2521
-        const int16_t curTodo = babystepsTodo[axis]; // get rid of volatile for performance
2522
-        if (curTodo) {
2523
-          stepper.babystep((AxisEnum)axis, curTodo > 0);
2524
-          if (curTodo > 0) babystepsTodo[axis]--; else babystepsTodo[axis]++;
2525
-        }
2526
-      }
2527
-    #else
2528
-      const int16_t curTodo = babystepsTodo[Z_AXIS];
2529
-      if (curTodo) {
2530
-        stepper.babystep(Z_AXIS, curTodo > 0);
2531
-        if (curTodo > 0) babystepsTodo[Z_AXIS]--; else babystepsTodo[Z_AXIS]++;
2532
-      }
2533
-    #endif
2515
+    babystep.task();
2534 2516
   #endif
2535 2517
 
2536 2518
   // Poll endstops state, if required
@@ -2540,70 +2522,6 @@ void Temperature::isr() {
2540 2522
   planner.tick();
2541 2523
 }
2542 2524
 
2543
-#if ENABLED(BABYSTEPPING)
2544
-
2545
-  #if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
2546
-    #define BSA_ENABLE(AXIS) do{ switch (AXIS) { case X_AXIS: enable_X(); break; case Y_AXIS: enable_Y(); break; case Z_AXIS: enable_Z(); } }while(0)
2547
-  #else
2548
-    #define BSA_ENABLE(AXIS) NOOP
2549
-  #endif
2550
-
2551
-  #if ENABLED(BABYSTEP_WITHOUT_HOMING)
2552
-    #define CAN_BABYSTEP(AXIS) true
2553
-  #else
2554
-    #define CAN_BABYSTEP(AXIS) TEST(axis_known_position, AXIS)
2555
-  #endif
2556
-
2557
-  extern uint8_t axis_known_position;
2558
-
2559
-  void Temperature::babystep_axis(const AxisEnum axis, const int16_t distance) {
2560
-    if (!CAN_BABYSTEP(axis)) return;
2561
-    #if IS_CORE
2562
-      #if ENABLED(BABYSTEP_XY)
2563
-        switch (axis) {
2564
-          case CORE_AXIS_1: // X on CoreXY and CoreXZ, Y on CoreYZ
2565
-            BSA_ENABLE(CORE_AXIS_1);
2566
-            BSA_ENABLE(CORE_AXIS_2);
2567
-            babystepsTodo[CORE_AXIS_1] += distance * 2;
2568
-            babystepsTodo[CORE_AXIS_2] += distance * 2;
2569
-            break;
2570
-          case CORE_AXIS_2: // Y on CoreXY, Z on CoreXZ and CoreYZ
2571
-            BSA_ENABLE(CORE_AXIS_1);
2572
-            BSA_ENABLE(CORE_AXIS_2);
2573
-            babystepsTodo[CORE_AXIS_1] += CORESIGN(distance * 2);
2574
-            babystepsTodo[CORE_AXIS_2] -= CORESIGN(distance * 2);
2575
-            break;
2576
-          case NORMAL_AXIS: // Z on CoreXY, Y on CoreXZ, X on CoreYZ
2577
-          default:
2578
-            BSA_ENABLE(NORMAL_AXIS);
2579
-            babystepsTodo[NORMAL_AXIS] += distance;
2580
-            break;
2581
-        }
2582
-      #elif CORE_IS_XZ || CORE_IS_YZ
2583
-        // Only Z stepping needs to be handled here
2584
-        BSA_ENABLE(CORE_AXIS_1);
2585
-        BSA_ENABLE(CORE_AXIS_2);
2586
-        babystepsTodo[CORE_AXIS_1] += CORESIGN(distance * 2);
2587
-        babystepsTodo[CORE_AXIS_2] -= CORESIGN(distance * 2);
2588
-      #else
2589
-        BSA_ENABLE(Z_AXIS);
2590
-        babystepsTodo[Z_AXIS] += distance;
2591
-      #endif
2592
-    #else
2593
-      #if ENABLED(BABYSTEP_XY)
2594
-        BSA_ENABLE(axis);
2595
-      #else
2596
-        BSA_ENABLE(Z_AXIS);
2597
-      #endif
2598
-      babystepsTodo[axis] += distance;
2599
-    #endif
2600
-    #if ENABLED(BABYSTEP_ALWAYS_AVAILABLE)
2601
-      gcode.reset_stepper_timeout();
2602
-    #endif
2603
-  }
2604
-
2605
-#endif // BABYSTEPPING
2606
-
2607 2525
 #if HAS_TEMP_SENSOR
2608 2526
 
2609 2527
   #include "../gcode/gcode.h"

+ 0
- 8
Marlin/src/module/temperature.h Ver arquivo

@@ -266,10 +266,6 @@ class Temperature {
266 266
                      soft_pwm_count_fan[FAN_COUNT];
267 267
     #endif
268 268
 
269
-    #if ENABLED(BABYSTEPPING)
270
-      static volatile int16_t babystepsTodo[3];
271
-    #endif
272
-
273 269
     #if ENABLED(PREVENT_COLD_EXTRUSION)
274 270
       static bool allow_cold_extrude;
275 271
       static int16_t extrude_min_temp;
@@ -689,10 +685,6 @@ class Temperature {
689 685
 
690 686
     #endif
691 687
 
692
-    #if ENABLED(BABYSTEPPING)
693
-      static void babystep_axis(const AxisEnum axis, const int16_t distance);
694
-    #endif
695
-
696 688
     #if ENABLED(PROBING_HEATERS_OFF)
697 689
       static void pause(const bool p);
698 690
       FORCE_INLINE static bool is_paused() { return paused; }

+ 2
- 2
buildroot/share/tests/megaatmega2560-tests Ver arquivo

@@ -69,7 +69,7 @@ exec_test $1 $2 "Azteeg X3 with 5 extruders, RRDFGSC, probeless UBL, Linear Adva
69 69
 opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
70 70
 opt_set LCD_LANGUAGE jp-kana
71 71
 opt_disable SEGMENT_LEVELED_MOVES
72
-opt_enable BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET
72
+opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET BABYSTEP_DISPLAY_TOTAL
73 73
 exec_test $1 $2 "... Sled Z Probe, Skew, UBL Cartesian moves, Japanese, and Z probe BABYSTEPPING"
74 74
 
75 75
 #
@@ -153,7 +153,7 @@ opt_set EXTRUDERS 2
153 153
 opt_set TEMP_SENSOR_1 -4
154 154
 opt_set SERVO_DELAY "{ 300, 300, 300 }"
155 155
 opt_enable COREYX USE_XMAX_PLUG \
156
-           REPRAP_DISCOUNT_SMART_CONTROLLER BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT \
156
+           REPRAP_DISCOUNT_SMART_CONTROLLER BABYSTEPPING BABYSTEP_DISPLAY_TOTAL DAC_MOTOR_CURRENT_DEFAULT \
157 157
            FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR \
158 158
            ENDSTOP_INTERRUPTS_FEATURE ENDSTOP_NOISE_THRESHOLD FAN_SOFT_PWM SDSUPPORT \
159 159
            SWITCHING_TOOLHEAD NUM_SERVOS DEBUG_LEVELING_FEATURE \

+ 2
- 0
config/default/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Anet/A2/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Anet/A2plus/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Anet/A6/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Anet/A8/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/AnyCubic/i3/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/ArmEd/Configuration_adv.h Ver arquivo

@@ -1016,6 +1016,8 @@
1016 1016
     #endif
1017 1017
   #endif
1018 1018
 
1019
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1020
+
1019 1021
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1020 1022
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1021 1023
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/BQ/Hephestos/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h Ver arquivo

@@ -1017,6 +1017,8 @@
1017 1017
     #endif
1018 1018
   #endif
1019 1019
 
1020
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1021
+
1020 1022
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1021 1023
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1022 1024
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/BQ/WITBOX/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Cartesio/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/CR-10/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/CR-10S/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/CR-8/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/Ender-2/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/Ender-3/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Creality/Ender-4/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Einstart-S/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Felix/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h Ver arquivo

@@ -1008,6 +1008,8 @@
1008 1008
     #endif
1009 1009
   #endif
1010 1010
 
1011
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1012
+
1011 1013
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1012 1014
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1013 1015
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Formbot/Raptor/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   #define BABYSTEP_ZPROBE_OFFSET            // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 5
- 3
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Ver arquivo

@@ -1000,8 +1000,8 @@
1000 1000
  */
1001 1001
 #define BABYSTEPPING
1002 1002
 #if ENABLED(BABYSTEPPING)
1003
-  //#define BABYSTEP_WITHOUT_HOMING
1004
-  //#define BABYSTEP_XY                     // Also enable X/Y Babystepping. Not supported on DELTA!
1003
+  #define BABYSTEP_WITHOUT_HOMING
1004
+  #define BABYSTEP_XY                       // Also enable X/Y Babystepping. Not supported on DELTA!
1005 1005
   #define BABYSTEP_INVERT_Z false           // Change if Z babysteps should go the other way
1006 1006
   #define BABYSTEP_MULTIPLICATOR 40         // Babysteps are very small. Increase for faster motion.
1007 1007
 
@@ -1009,13 +1009,15 @@
1009 1009
   #if ENABLED(DOUBLECLICK_FOR_Z_BABYSTEPPING)
1010 1010
     #define DOUBLECLICK_MAX_INTERVAL 1250   // Maximum interval between clicks, in milliseconds.
1011 1011
                                             // Note: Extra time may be added to mitigate controller latency.
1012
-    //#define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1012
+      #define BABYSTEP_ALWAYS_AVAILABLE     // Allow babystepping at all times (not just during movement).
1013 1013
     //#define MOVE_Z_WHEN_IDLE              // Jump to the move Z menu on doubleclick when printer is idle.
1014 1014
     #if ENABLED(MOVE_Z_WHEN_IDLE)
1015 1015
       #define MOVE_Z_IDLE_MULTIPLICATOR 1   // Multiply 1mm by this factor for the move step size.
1016 1016
     #endif
1017 1017
   #endif
1018 1018
 
1019
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1020
+
1019 1021
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1020 1022
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1021 1023
     #define BABYSTEP_HOTEND_Z_OFFSET        // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h Ver arquivo

@@ -1016,6 +1016,8 @@
1016 1016
     #endif
1017 1017
   #endif
1018 1018
 
1019
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1020
+
1019 1021
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1020 1022
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1021 1023
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Geeetech/A10M/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Geeetech/A20M/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/JGAurora/A5/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/MakerParts/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Malyan/M150/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Malyan/M200/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Mks/Robin/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Mks/Sbase/Configuration_adv.h Ver arquivo

@@ -1013,6 +1013,8 @@
1013 1013
     #endif
1014 1014
   #endif
1015 1015
 
1016
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1017
+
1016 1018
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1017 1019
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1018 1020
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/RapideLite/RL200/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/RigidBot/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/SCARA/Configuration_adv.h Ver arquivo

@@ -1009,6 +1009,8 @@
1009 1009
     #endif
1010 1010
   #endif
1011 1011
 
1012
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1013
+
1012 1014
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1013 1015
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1014 1016
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Sanguinololu/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/TheBorg/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/TinyBoy2/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Tronxy/X3A/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/VORONDesign/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Velleman/K8200/Configuration_adv.h Ver arquivo

@@ -1025,6 +1025,8 @@
1025 1025
     #endif
1026 1026
   #endif
1027 1027
 
1028
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1029
+
1028 1030
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1029 1031
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1030 1032
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Velleman/K8400/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/WASP/PowerWASP/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/generic/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/kossel_mini/Configuration_adv.h Ver arquivo

@@ -1010,6 +1010,8 @@
1010 1010
     #endif
1011 1011
   #endif
1012 1012
 
1013
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1014
+
1013 1015
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1014 1016
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1015 1017
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/delta/kossel_xl/Configuration_adv.h Ver arquivo

@@ -1011,6 +1011,8 @@
1011 1011
     #endif
1012 1012
   #endif
1013 1013
 
1014
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1015
+
1014 1016
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1015 1017
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1016 1018
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/makibox/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/tvrrug/Round2/Configuration_adv.h Ver arquivo

@@ -1012,6 +1012,8 @@
1012 1012
     #endif
1013 1013
   #endif
1014 1014
 
1015
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1016
+
1015 1017
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1016 1018
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1017 1019
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

+ 2
- 0
config/examples/wt150/Configuration_adv.h Ver arquivo

@@ -1013,6 +1013,8 @@
1013 1013
     #endif
1014 1014
   #endif
1015 1015
 
1016
+  //#define BABYSTEP_DISPLAY_TOTAL          // Display total babysteps since last G28
1017
+
1016 1018
   //#define BABYSTEP_ZPROBE_OFFSET          // Combine M851 Z and Babystepping
1017 1019
   #if ENABLED(BABYSTEP_ZPROBE_OFFSET)
1018 1020
     //#define BABYSTEP_HOTEND_Z_OFFSET      // For multiple hotends, babystep relative Z offsets

Carregando…
Cancelar
Salvar