🚸 Up to 10 Preheat Constants (#24636)

This commit is contained in:
Keith Bennett 2022-08-25 16:14:50 -07:00 committed by Scott Lahteine
parent 27bea56025
commit d140be0281
2 changed files with 10 additions and 2 deletions

View File

@ -2205,7 +2205,7 @@
// @section temperature // @section temperature
// //
// Preheat Constants - Up to 6 are supported without changes // Preheat Constants - Up to 10 are supported without changes
// //
#define PREHEAT_1_LABEL "PLA" #define PREHEAT_1_LABEL "PLA"
#define PREHEAT_1_TEMP_HOTEND 180 #define PREHEAT_1_TEMP_HOTEND 180

View File

@ -3306,7 +3306,15 @@
#endif #endif
#if HAS_TEMPERATURE && ANY(HAS_MARLINUI_MENU, HAS_DWIN_E3V2, HAS_DGUS_LCD_CLASSIC) #if HAS_TEMPERATURE && ANY(HAS_MARLINUI_MENU, HAS_DWIN_E3V2, HAS_DGUS_LCD_CLASSIC)
#ifdef PREHEAT_6_LABEL #ifdef PREHEAT_10_LABEL
#define PREHEAT_COUNT 10
#elif defined(PREHEAT_9_LABEL)
#define PREHEAT_COUNT 9
#elif defined(PREHEAT_8_LABEL)
#define PREHEAT_COUNT 8
#elif defined(PREHEAT_7_LABEL)
#define PREHEAT_COUNT 7
#elif defined(PREHEAT_6_LABEL)
#define PREHEAT_COUNT 6 #define PREHEAT_COUNT 6
#elif defined(PREHEAT_5_LABEL) #elif defined(PREHEAT_5_LABEL)
#define PREHEAT_COUNT 5 #define PREHEAT_COUNT 5