🩹 Fix M503 report (#23084)
This commit is contained in:
parent
f32e19e1c6
commit
489aca03ff
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue