mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Fix an error when EXTRUDE_MINTEMP is not defined
This commit is contained in:
parent
4b697938e6
commit
709dd5aa4d
@ -27,10 +27,21 @@
|
|||||||
|
|
||||||
#ifndef CONDITIONALS_H
|
#ifndef CONDITIONALS_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Miscellaneous
|
||||||
|
*/
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.1415926536
|
#define M_PI 3.1415926536
|
||||||
#endif
|
#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
|
#ifndef CONFIGURATION_LCD // Get the LCD defines which are needed first
|
||||||
|
|
||||||
#define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)
|
#define PIN_EXISTS(PN) (defined(PN##_PIN) && PN##_PIN >= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user