1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 21:36:21 +00:00

🩹 Fix M503 report (#23084)

This commit is contained in:
Evgeniy Zhabotinskiy 2021-11-07 07:16:18 +03:00 committed by GitHub
parent 27220f0944
commit dc972990f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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();