Browse Source

MSG_EXTRUDER_SWITCHED_OFF was renamed to MSG_REDUNDANCY

in language.h, but was not renamed here. If TEMP_SENSOR_1 is enabled as redundant then
an error is thrown that MSG_EXTRUDER_SWITCHED_OFF is not defined.

Originaly by @12dstring
pull/1/head
AnHardt 9 years ago
committed by Richard Wackerbarth
parent
commit
47401ec97b
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

@ -655,7 +655,7 @@ void manage_heater() {
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
if (fabs(current_temperature[0] - redundant_temperature) > MAX_REDUNDANT_TEMP_SENSOR_DIFF) {
_temp_error(0, PSTR(MSG_EXTRUDER_SWITCHED_OFF), PSTR(MSG_ERR_REDUNDANT_TEMP));
_temp_error(0, PSTR(MSG_REDUNDANCY), PSTR(MSG_ERR_REDUNDANT_TEMP));
}
#endif

Loading…
Cancel
Save