Explorar el Código

🩹 Fix M503 report (#23084)

Evgeniy Zhabotinskiy hace 3 años
padre
commit
dc972990f3
No account linked to committer's email address
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1
    1
      Marlin/src/gcode/config/M304.cpp
  2. 2
    2
      Marlin/src/module/settings.cpp

+ 1
- 1
Marlin/src/gcode/config/M304.cpp Ver fichero

@@ -43,7 +43,7 @@ void GcodeSuite::M304() {
43 43
 
44 44
 void GcodeSuite::M304_report(const bool forReplay/*=true*/) {
45 45
   report_heading_etc(forReplay, F(STR_BED_PID));
46
-  SERIAL_ECHO_MSG(
46
+  SERIAL_ECHOLNPGM(
47 47
       "  M304 P", thermalManager.temp_bed.pid.Kp
48 48
     , " I", unscalePID_i(thermalManager.temp_bed.pid.Ki)
49 49
     , " D", unscalePID_d(thermalManager.temp_bed.pid.Kd)

+ 2
- 2
Marlin/src/module/settings.cpp Ver fichero

@@ -3068,9 +3068,9 @@ void MarlinSettings::reset() {
3068 3068
     //
3069 3069
     CONFIG_ECHO_HEADING("Linear Units");
3070 3070
     #if ENABLED(INCH_MODE_SUPPORT)
3071
-      SERIAL_ECHOPGM("  G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
3071
+      SERIAL_ECHO_MSG("  G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
3072 3072
     #else
3073
-      SERIAL_ECHOPGM("  G21 ;");
3073
+      SERIAL_ECHO_MSG("  G21 ;");
3074 3074
     #endif
3075 3075
     gcode.say_units();
3076 3076
 

Loading…
Cancelar
Guardar