Browse Source

Merge pull request #3294 from jbrazio/bugfix/mandatory-extrude-mintemp

Fix an error when EXTRUDE_MINTEMP is not defined
Scott Lahteine 8 years ago
parent
commit
0bee67e5f1
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      Marlin/Conditionals.h

+ 11
- 0
Marlin/Conditionals.h View File

27
 
27
 
28
 #ifndef CONDITIONALS_H
28
 #ifndef CONDITIONALS_H
29
 
29
 
30
+/**
31
+* Miscellaneous
32
+*/
30
 #ifndef M_PI
33
 #ifndef M_PI
31
   #define M_PI 3.1415926536
34
   #define M_PI 3.1415926536
32
 #endif
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
 #ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first
45
 #ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first
35
 
46
 
36
   #define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)
47
   #define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)

Loading…
Cancel
Save