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