Bläddra i källkod

🚸 Up to 10 Preheat Constants (#24636)

Keith Bennett 1 år sedan
förälder
incheckning
ace358327d
Inget konto är kopplat till bidragsgivarens mejladress
2 ändrade filer med 10 tillägg och 2 borttagningar
  1. 1
    1
      Marlin/Configuration.h
  2. 9
    1
      Marlin/src/inc/Conditionals_post.h

+ 1
- 1
Marlin/Configuration.h Visa fil

2205
 // @section temperature
2205
 // @section temperature
2206
 
2206
 
2207
 //
2207
 //
2208
-// Preheat Constants - Up to 6 are supported without changes
2208
+// Preheat Constants - Up to 10 are supported without changes
2209
 //
2209
 //
2210
 #define PREHEAT_1_LABEL       "PLA"
2210
 #define PREHEAT_1_LABEL       "PLA"
2211
 #define PREHEAT_1_TEMP_HOTEND 180
2211
 #define PREHEAT_1_TEMP_HOTEND 180

+ 9
- 1
Marlin/src/inc/Conditionals_post.h Visa fil

3306
 #endif
3306
 #endif
3307
 
3307
 
3308
 #if HAS_TEMPERATURE && ANY(HAS_MARLINUI_MENU, HAS_DWIN_E3V2, HAS_DGUS_LCD_CLASSIC)
3308
 #if HAS_TEMPERATURE && ANY(HAS_MARLINUI_MENU, HAS_DWIN_E3V2, HAS_DGUS_LCD_CLASSIC)
3309
-  #ifdef PREHEAT_6_LABEL
3309
+  #ifdef PREHEAT_10_LABEL
3310
+    #define PREHEAT_COUNT 10
3311
+  #elif defined(PREHEAT_9_LABEL)
3312
+    #define PREHEAT_COUNT 9
3313
+  #elif defined(PREHEAT_8_LABEL)
3314
+    #define PREHEAT_COUNT 8
3315
+  #elif defined(PREHEAT_7_LABEL)
3316
+    #define PREHEAT_COUNT 7
3317
+  #elif defined(PREHEAT_6_LABEL)
3310
     #define PREHEAT_COUNT 6
3318
     #define PREHEAT_COUNT 6
3311
   #elif defined(PREHEAT_5_LABEL)
3319
   #elif defined(PREHEAT_5_LABEL)
3312
     #define PREHEAT_COUNT 5
3320
     #define PREHEAT_COUNT 5

Laddar…
Avbryt
Spara