From 709dd5aa4d1b8c14f2df6b450ddf5d855782b56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Br=C3=A1zio?= Date: Thu, 31 Mar 2016 16:13:37 +0100 Subject: [PATCH] Fix an error when EXTRUDE_MINTEMP is not defined --- Marlin/Conditionals.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Marlin/Conditionals.h b/Marlin/Conditionals.h index a1ab07d891..c6886b517e 100644 --- a/Marlin/Conditionals.h +++ b/Marlin/Conditionals.h @@ -27,10 +27,21 @@ #ifndef CONDITIONALS_H +/** +* Miscellaneous +*/ #ifndef M_PI #define M_PI 3.1415926536 #endif +/** + * This value is used by M109 when tying to calculate a ballpark safe margin + * to prevent wait-forever situation. + */ +#ifndef EXTRUDE_MINTEMP + #define EXTRUDE_MINTEMP 170 +#endif + #ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first #define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)