diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 9e6635ff32..d07eaa9d2b 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1057,12 +1057,9 @@ //#define PROBING_STEPPERS_OFF // Turn steppers off (unless needed to hold position) when probing //#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors -// Require a minimum temperature when ubefore allowing probing. Useful on machines such as the Lulzbot series -// which uses a conductive nozzle or the Creality CR6 and other strain gauge sensors to prevent misreads from filament debris. +// Require minimum nozzle or bed temperature for probing. //#define PROBE_REQUIRES_MINTEMP_NOZZLE 150 -//#define PROBE_REQUIRES_MINTEMP_BED 50 - - +//#define PROBE_REQUIRES_MINTEMP_BED 50 // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' } @@ -1655,9 +1652,9 @@ //#define NOZZLE_CLEAN_MIN_TEMP #if ENABLED(NOZZLE_CLEAN_MIN_TEMP) - #define NOZZE_CLEAN_TEMP 170 - // Default behavior is to skip nozzles that are too cold. The allows you to force them to heat instead - //#define NOZLE_CLEAN_HEAT_LOWTEMP + #define NOZZLE_CLEAN_TEMP 170 + // Heat nozzle if temperature is too low. Default behavior is to skip cleaning. + //#define NOZZLE_CLEAN_HEAT_LOWTEMP #endif // Explicit wipe G-code script applies to a G12 with no arguments. diff --git a/Marlin/src/libs/nozzle.cpp b/Marlin/src/libs/nozzle.cpp index dd29caf517..bd449ced3b 100644 --- a/Marlin/src/libs/nozzle.cpp +++ b/Marlin/src/libs/nozzle.cpp @@ -157,11 +157,11 @@ Nozzle nozzle; const uint8_t arrPos = ANY(SINGLENOZZLE, MIXING_EXTRUDER) ? 0 : active_extruder; - #if ENABLED(NOZZLE_CLEAN_MIN_TEMP) && NOZZE_CLEAN_TEMP > 0 - if(thermalManager.degTargetHotend(arrPos) < NOZZE_CLEAN_TEMP) { - #if ENABLED(NOZLE_CLEAN_HEAT_LOWTEMP) + #if ENABLED(NOZZLE_CLEAN_MIN_TEMP) && NOZZLE_CLEAN_TEMP > 0 + if(thermalManager.degTargetHotend(arrPos) < NOZZLE_CLEAN_TEMP) { + #if ENABLED(NOZZLE_CLEAN_HEAT_LOWTEMP) SERIAL_ECHOLNPGM("Nozzle too Cold - Heating"); - thermalManager.setTargetHotend(NOZZE_CLEAN_TEMP, arrPos); + thermalManager.setTargetHotend(NOZZLE_CLEAN_TEMP, arrPos); thermalManager.wait_for_hotend(0); #else SERIAL_ECHOLNPGM("Nozzle too cold - Skipping Wipe"); diff --git a/buildroot/tests/LPC1768-tests b/buildroot/tests/LPC1768-tests index 0877e08bdf..e06a04ada6 100755 --- a/buildroot/tests/LPC1768-tests +++ b/buildroot/tests/LPC1768-tests @@ -47,7 +47,7 @@ opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_ LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA EMERGENCY_PARSER opt_set GRID_MAX_POINTS_X 16 opt_set NOZZLE_TO_PROBE_OFFSET "{ 0, 0, 0 }" -opt_set NOZZE_CLEAN_TEMP 170 +opt_set NOZZLE_CLEAN_TEMP 170 exec_test $1 $2 "Re-ARM with NOZZLE_AS_PROBE and many features." "$3" # clean up