Bläddra i källkod

Improve HOTEND OFFSET Z display precision to 3 (#11686)

scott0122 6 år sedan
förälder
incheckning
ada85d5585
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      Marlin/src/module/configuration_store.cpp

+ 2
- 1
Marlin/src/module/configuration_store.cpp Visa fil

2165
         SERIAL_ECHOPAIR_P(port, "  M218 T", (int)e);
2165
         SERIAL_ECHOPAIR_P(port, "  M218 T", (int)e);
2166
         SERIAL_ECHOPAIR_P(port, " X", LINEAR_UNIT(hotend_offset[X_AXIS][e]));
2166
         SERIAL_ECHOPAIR_P(port, " X", LINEAR_UNIT(hotend_offset[X_AXIS][e]));
2167
         SERIAL_ECHOPAIR_P(port, " Y", LINEAR_UNIT(hotend_offset[Y_AXIS][e]));
2167
         SERIAL_ECHOPAIR_P(port, " Y", LINEAR_UNIT(hotend_offset[Y_AXIS][e]));
2168
-        SERIAL_ECHOPAIR_P(port, " Z", LINEAR_UNIT(hotend_offset[Z_AXIS][e]));
2168
+        SERIAL_ECHO_P(port, " Z");
2169
+        SERIAL_ECHO_F_P(port, LINEAR_UNIT(hotend_offset[Z_AXIS][e]), 3);
2169
         SERIAL_EOL_P(port);
2170
         SERIAL_EOL_P(port);
2170
       }
2171
       }
2171
     #endif
2172
     #endif

Laddar…
Avbryt
Spara