From a27fef87509a83ccf6e95ba8bb36f694d89fef4d Mon Sep 17 00:00:00 2001 From: daid303 Date: Sun, 11 Nov 2012 11:06:58 +0100 Subject: [PATCH] Store the pre-heat constants outside of the ULTIPANEL define, so we can use them when storing EEPROM in a build without the ULTIPANEL. --- Marlin/Configuration.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 18c5fbf57..99331a476 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -311,7 +311,16 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th #define ULTIPANEL #define NEWPANEL #endif - + +// Preheat Constants +#define PLA_PREHEAT_HOTEND_TEMP 180 +#define PLA_PREHEAT_HPB_TEMP 70 +#define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 + +#define ABS_PREHEAT_HOTEND_TEMP 240 +#define ABS_PREHEAT_HPB_TEMP 100 +#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 + #ifdef ULTIPANEL // #define NEWPANEL //enable this if you have a click-encoder panel @@ -320,15 +329,6 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th #define LCD_WIDTH 20 #define LCD_HEIGHT 4 -// Preheat Constants - #define PLA_PREHEAT_HOTEND_TEMP 180 - #define PLA_PREHEAT_HPB_TEMP 70 - #define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 - - #define ABS_PREHEAT_HOTEND_TEMP 240 - #define ABS_PREHEAT_HPB_TEMP 100 - #define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 - #else //no panel but just lcd #ifdef ULTRA_LCD #define LCD_WIDTH 16