mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 23:07:42 +00:00
Show "bed" instead of "9" on bed thermal error (PR#2584)
This commit is contained in:
parent
6aeeb4e61f
commit
5adb162204
@ -1052,7 +1052,10 @@ void thermal_runaway_protection(int *state, unsigned long *timer, float temperat
|
|||||||
else if ( (millis() - *timer) > ((unsigned long) period_seconds) * 1000)
|
else if ( (millis() - *timer) > ((unsigned long) period_seconds) * 1000)
|
||||||
{
|
{
|
||||||
SERIAL_ERROR_START;
|
SERIAL_ERROR_START;
|
||||||
SERIAL_ERRORLNPGM("Thermal Runaway, system stopped! Heater_ID: ");
|
SERIAL_ERRORPGM("Thermal Runaway, system stopped! Heater_ID: ");
|
||||||
|
if (heater_id == 9)
|
||||||
|
SERIAL_ERRORLNPGM("bed");
|
||||||
|
else
|
||||||
SERIAL_ERRORLN((int)heater_id);
|
SERIAL_ERRORLN((int)heater_id);
|
||||||
LCD_ALERTMESSAGEPGM("THERMAL RUNAWAY");
|
LCD_ALERTMESSAGEPGM("THERMAL RUNAWAY");
|
||||||
thermal_runaway = true;
|
thermal_runaway = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user