1
0
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:
Scott Lahteine 2015-08-03 12:45:22 -07:00 committed by Richard Wackerbarth
parent 6aeeb4e61f
commit 5adb162204

View File

@ -1052,7 +1052,10 @@ 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_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;