Skip to content

Conversation

@ellensp
Copy link
Contributor

@ellensp ellensp commented Nov 14, 2025

Description

Since #28155 M503 reports M104 settings formatted incorrectly

Eg

echo:; Linear Units:
echo:  G21 ; (mm)
  M104 S210 B250 F0.10
echo:; Temperature Units:
echo:  M149 C ; Units in Celsius

It should report

echo:; Linear Units:
echo:  G21 ; (mm)
echo:; Auto Temp Control:
echo:  M104 S210 B250 F0.10
echo:; Temperature Units:
echo:  M149 C ; Units in Celsius

Missed forReplay parameter in M104_report call in Marlin/src/module/settings.cpp caused the incorrect formatting.

I also corrected indenting in Marlin/src/gcode/temp/M104_M109.cpp
As existing indenting made it look like the code was part of the TERN_ when it is not.

Requirements

#define AUTOTEMP

Benefits

M104_report works as expected

Related Issues

  • 🚸🌡️ Refactor AUTOTEMP, update for all temp change #28155
  • @thinkyhead thinkyhead force-pushed the follow-up-M104_report branch from d36b309 to f18e01b Compare November 16, 2025 18:51
    @thinkyhead thinkyhead merged commit c7e6b79 into MarlinFirmware:bugfix-2.1.x Nov 16, 2025
    67 checks passed
    @ellensp ellensp deleted the follow-up-M104_report branch November 17, 2025 00:22
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants