瀏覽代碼

🩹 Fix M503 report (#23084)

Evgeniy Zhabotinskiy 3 年之前
父節點
當前提交
dc972990f3
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 3 行新增3 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存