Browse Source

Merge pull request #3421 from jbrazio/bugfix/m109-EXTRUDE_MINTEMP-expansion

M109: Protect against EXTRUDE_MINTEMP expansion
Scott Lahteine 9 years ago
parent
commit
c9c7c66b95
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -4250,7 +4250,7 @@ inline void gcode_M109() {
4250 4250
 
4251 4251
   // Prevents a wait-forever situation if R is misused i.e. M109 R0
4252 4252
   // Try to calculate a ballpark safe margin by halving EXTRUDE_MINTEMP
4253
-  if (degTargetHotend(target_extruder) < (EXTRUDE_MINTEMP/2)) return;
4253
+  if (degTargetHotend(target_extruder) < (EXTRUDE_MINTEMP)/2) return;
4254 4254
 
4255 4255
   #ifdef TEMP_RESIDENCY_TIME
4256 4256
     long residency_start_ms = -1;

Loading…
Cancel
Save