ソースを参照

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,7 +4209,7 @@ inline void gcode_M109() {
4209 4209
 
4210 4210
   // Prevents a wait-forever situation if R is misused i.e. M109 R0
4211 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 4214
   #ifdef TEMP_RESIDENCY_TIME
4215 4215
     long residency_start_ms = -1;

読み込み中…
キャンセル
保存