浏览代码

M109: Protected against EXTRUDE_MINTEMP expansion

João Brázio 9 年前
父节点
当前提交
471d30cc1c
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

4209
 
4209
 
4210
   // Prevents a wait-forever situation if R is misused i.e. M109 R0
4210
   // Prevents a wait-forever situation if R is misused i.e. M109 R0
4211
   // Try to calculate a ballpark safe margin by halving EXTRUDE_MINTEMP
4211
   // Try to calculate a ballpark safe margin by halving EXTRUDE_MINTEMP
4212
-  if (degTargetHotend(target_extruder) < (EXTRUDE_MINTEMP/2)) return;
4212
+  if (degTargetHotend(target_extruder) < (EXTRUDE_MINTEMP)/2) return;
4213
 
4213
 
4214
   #ifdef TEMP_RESIDENCY_TIME
4214
   #ifdef TEMP_RESIDENCY_TIME
4215
     long residency_start_ms = -1;
4215
     long residency_start_ms = -1;

正在加载...
取消
保存