Store the pre-heat constants outside of the ULTIPANEL define, so we can use them when storing EEPROM in a build without the ULTIPANEL.
This commit is contained in:
		| @@ -312,6 +312,15 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th | ||||
|  #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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user