mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-04-02 11:29:17 +00:00
🩹 Fix M503 report (#23084)
This commit is contained in:
parent
27220f0944
commit
dc972990f3
2 changed files with 3 additions and 3 deletions
Marlin/src
|
@ -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…
Add table
Reference in a new issue