Fixed redefinition warnings of MSG_HOTEND_TOO_COLD. (#12203)

This commit is contained in:
Roman Moravčík
2018-10-24 22:00:07 +02:00
committed by Scott Lahteine
parent 7a04eb3a8b
commit e48cbff10d
3 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ static bool ensure_safe_temperature(const AdvancedPauseMode mode=ADVANCED_PAUSE_
#if ENABLED(PREVENT_COLD_EXTRUSION)
if (!DEBUGGING(DRYRUN) && thermalManager.targetTooColdToExtrude(active_extruder)) {
SERIAL_ERROR_START();
SERIAL_ERRORLNPGM(MSG_HOTEND_TOO_COLD);
SERIAL_ERRORLNPGM(MSG_ERR_HOTEND_TOO_COLD);
return false;
}
#endif
@ -349,7 +349,7 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
if (!DEBUGGING(DRYRUN) && unload_length && thermalManager.targetTooColdToExtrude(active_extruder)) {
SERIAL_ERROR_START();
SERIAL_ERRORLNPGM(MSG_HOTEND_TOO_COLD);
SERIAL_ERRORLNPGM(MSG_ERR_HOTEND_TOO_COLD);
#if ENABLED(ULTIPANEL)
if (show_lcd) { // Show status screen