Pārlūkot izejas kodu

Store the pre-heat constants outside of the ULTIPANEL define, so we can use them when storing EEPROM in a build without the ULTIPANEL.

daid303 12 gadus atpakaļ
vecāks
revīzija
a27fef8750
1 mainītis faili ar 10 papildinājumiem un 10 dzēšanām
  1. 10
    10
      Marlin/Configuration.h

+ 10
- 10
Marlin/Configuration.h Parādīt failu

@@ -311,7 +311,16 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
311 311
  #define ULTIPANEL
312 312
  #define NEWPANEL
313 313
 #endif 
314
- 
314
+
315
+// Preheat Constants
316
+#define PLA_PREHEAT_HOTEND_TEMP 180 
317
+#define PLA_PREHEAT_HPB_TEMP 70
318
+#define PLA_PREHEAT_FAN_SPEED 255		// Insert Value between 0 and 255
319
+
320
+#define ABS_PREHEAT_HOTEND_TEMP 240
321
+#define ABS_PREHEAT_HPB_TEMP 100
322
+#define ABS_PREHEAT_FAN_SPEED 255		// Insert Value between 0 and 255
323
+
315 324
 
316 325
 #ifdef ULTIPANEL
317 326
 //  #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
320 329
   #define LCD_WIDTH 20
321 330
   #define LCD_HEIGHT 4
322 331
   
323
-// Preheat Constants
324
-  #define PLA_PREHEAT_HOTEND_TEMP 180 
325
-  #define PLA_PREHEAT_HPB_TEMP 70
326
-  #define PLA_PREHEAT_FAN_SPEED 255		// Insert Value between 0 and 255
327
-
328
-  #define ABS_PREHEAT_HOTEND_TEMP 240
329
-  #define ABS_PREHEAT_HPB_TEMP 100
330
-  #define ABS_PREHEAT_FAN_SPEED 255		// Insert Value between 0 and 255
331
-
332 332
 #else //no panel but just lcd 
333 333
   #ifdef ULTRA_LCD
334 334
     #define LCD_WIDTH 16

Notiek ielāde…
Atcelt
Saglabāt