Browse Source

🚸 Up to 10 Preheat Constants (#24636)

FB4S_WIFI
Keith Bennett 2 years ago
committed by Scott Lahteine
parent
commit
d140be0281
  1. 2
      Marlin/Configuration.h
  2. 10
      Marlin/src/inc/Conditionals_post.h

2
Marlin/Configuration.h

@ -2205,7 +2205,7 @@
// @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_TEMP_HOTEND 180

10
Marlin/src/inc/Conditionals_post.h

@ -3306,7 +3306,15 @@
#endif
#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
#elif defined(PREHEAT_5_LABEL)
#define PREHEAT_COUNT 5

Loading…
Cancel
Save