🩹 Fix M503 report (#23084)

x301
Evgeniy Zhabotinskiy 3 years ago committed by Scott Lahteine
parent f32e19e1c6
commit 489aca03ff

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

@ -3068,9 +3068,9 @@ void MarlinSettings::reset() {
// //
CONFIG_ECHO_HEADING("Linear Units"); CONFIG_ECHO_HEADING("Linear Units");
#if ENABLED(INCH_MODE_SUPPORT) #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 #else
SERIAL_ECHOPGM(" G21 ;"); SERIAL_ECHO_MSG(" G21 ;");
#endif #endif
gcode.say_units(); gcode.say_units();

Loading…
Cancel
Save