瀏覽代碼

Remove previous_millis_cmd update from extruder runout prevention code

This seems to defeat the purpose of previous_millis_cmd, preventing the
time elapsed from previous_millis_cmd from ever reaching
max_inactive_time or stepper_inactive_time while the heat was on.
whosawhatsis 10 年之前
父節點
當前提交
b1f8f492c6
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      Marlin/Marlin_main.cpp

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

@@ -3304,7 +3304,6 @@ void manage_inactivity()
3304 3304
      current_position[E_AXIS]=oldepos;
3305 3305
      destination[E_AXIS]=oldedes;
3306 3306
      plan_set_e_position(oldepos);
3307
-     previous_millis_cmd=millis();
3308 3307
      st_synchronize();
3309 3308
      WRITE(E0_ENABLE_PIN,oldstatus);
3310 3309
     }

Loading…
取消
儲存