mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-26 10:59:23 +00:00
🩹 Fix PID debug output (#24647)
This commit is contained in:
parent
42f8cc4606
commit
66e61f4de3
1 changed files with 2 additions and 2 deletions
|
@ -1374,13 +1374,13 @@ void Temperature::min_temp_error(const heater_id_t heater_id) {
|
|||
FORCE_INLINE void debug(const_celsius_float_t c, const_float_t pid_out, FSTR_P const name=nullptr, const int8_t index=-1) {
|
||||
if (TERN0(HAS_PID_DEBUG, thermalManager.pid_debug_flag)) {
|
||||
SERIAL_ECHO_START();
|
||||
if (name) SERIAL_ECHOLNF(name);
|
||||
if (name) SERIAL_ECHOF(name);
|
||||
if (index >= 0) SERIAL_ECHO(index);
|
||||
SERIAL_ECHOLNPGM(
|
||||
STR_PID_DEBUG_INPUT, c,
|
||||
STR_PID_DEBUG_OUTPUT, pid_out
|
||||
#if DISABLED(PID_OPENLOOP)
|
||||
, "pTerm", work_pid.Kp, "iTerm", work_pid.Ki, "dTerm", work_pid.Kd
|
||||
, " pTerm ", work_pid.Kp, " iTerm ", work_pid.Ki, " dTerm ", work_pid.Kd
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue