Skip to content

Commit

Permalink
🩹 Fix M503 report (#23084)
Browse files Browse the repository at this point in the history
  • Loading branch information
evg-zhabotinsky authored and thinkyhead committed Dec 25, 2021
1 parent f32e19e commit 489aca0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/config/M304.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void GcodeSuite::M304() {

void GcodeSuite::M304_report(const bool forReplay/*=true*/) {
report_heading_etc(forReplay, F(STR_BED_PID));
SERIAL_ECHO_MSG(
SERIAL_ECHOLNPGM(
" M304 P", thermalManager.temp_bed.pid.Kp
, " I", unscalePID_i(thermalManager.temp_bed.pid.Ki)
, " D", unscalePID_d(thermalManager.temp_bed.pid.Kd)
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3068,9 +3068,9 @@ void MarlinSettings::reset() {
//
CONFIG_ECHO_HEADING("Linear Units");
#if ENABLED(INCH_MODE_SUPPORT)
SERIAL_ECHOPGM(" G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
SERIAL_ECHO_MSG(" G2", AS_DIGIT(parser.linear_unit_factor == 1.0), " ;");
#else
SERIAL_ECHOPGM(" G21 ;");
SERIAL_ECHO_MSG(" G21 ;");
#endif
gcode.say_units();

Expand Down

0 comments on commit 489aca0

Please sign in to comment.