Browse Source

🩹 Fix settings G21 report (#23338)

Tanguy Pruvot 2 years ago
parent
commit
1b876c170f
No account linked to committer's email address
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      Marlin/src/module/settings.cpp

+ 4
- 3
Marlin/src/module/settings.cpp View File

@@ -3171,12 +3171,13 @@ void MarlinSettings::reset() {
3171 3171
     // Announce current units, in case inches are being displayed
3172 3172
     //
3173 3173
     CONFIG_ECHO_HEADING("Linear Units");
3174
+    CONFIG_ECHO_START();
3174 3175
     #if ENABLED(INCH_MODE_SUPPORT)
3175
-      SERIAL_ECHO_MSG("  G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
3176
+      SERIAL_ECHOPGM("  G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
3176 3177
     #else
3177
-      SERIAL_ECHO_MSG("  G21 ;");
3178
+      SERIAL_ECHOPGM("  G21 ;");
3178 3179
     #endif
3179
-    gcode.say_units();
3180
+    gcode.say_units(); // " (in/mm)"
3180 3181
 
3181 3182
     //
3182 3183
     // M149 Temperature units

Loading…
Cancel
Save