瀏覽代碼

Fix an error when EXTRUDE_MINTEMP is not defined

João Brázio 9 年之前
父節點
當前提交
709dd5aa4d
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      Marlin/Conditionals.h

+ 11
- 0
Marlin/Conditionals.h 查看文件

@@ -27,10 +27,21 @@
27 27
 
28 28
 #ifndef CONDITIONALS_H
29 29
 
30
+/**
31
+* Miscellaneous
32
+*/
30 33
 #ifndef M_PI
31 34
   #define M_PI 3.1415926536
32 35
 #endif
33 36
 
37
+/**
38
+ * This value is used by M109 when tying to calculate a ballpark safe margin
39
+ * to prevent wait-forever situation.
40
+ */
41
+#ifndef EXTRUDE_MINTEMP
42
+ #define EXTRUDE_MINTEMP 170
43
+#endif
44
+
34 45
 #ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first
35 46
 
36 47
   #define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)

Loading…
取消
儲存