|
@@ -63,15 +63,14 @@ void Temperature::lcd_preheat(const int16_t e, const int8_t indh, const int8_t i
|
63
|
63
|
|
64
|
64
|
#if HAS_TEMP_HOTEND
|
65
|
65
|
inline void _preheat_end(const uint8_t m, const uint8_t e) { thermalManager.lcd_preheat(e, m, -1); }
|
66
|
|
- #if HAS_HEATED_BED
|
67
|
|
- inline void _preheat_both(const uint8_t m, const uint8_t e) { thermalManager.lcd_preheat(e, m, m); }
|
68
|
|
- #endif
|
|
66
|
+ void do_preheat_end_m() { _preheat_end(editable.int8, 0); }
|
69
|
67
|
#endif
|
70
|
68
|
#if HAS_HEATED_BED
|
71
|
69
|
inline void _preheat_bed(const uint8_t m) { thermalManager.lcd_preheat(-1, -1, m); }
|
72
|
70
|
#endif
|
73
|
71
|
|
74
|
72
|
#if HAS_TEMP_HOTEND && HAS_HEATED_BED
|
|
73
|
+ inline void _preheat_both(const uint8_t m, const uint8_t e) { thermalManager.lcd_preheat(e, m, m); }
|
75
|
74
|
|
76
|
75
|
// Indexed "Preheat ABC" and "Heat Bed" items
|
77
|
76
|
#define PREHEAT_ITEMS(M,E) do{ \
|
|
@@ -86,10 +85,6 @@ void Temperature::lcd_preheat(const int16_t e, const int8_t indh, const int8_t i
|
86
|
85
|
|
87
|
86
|
#endif
|
88
|
87
|
|
89
|
|
- void do_preheat_end_m() {
|
90
|
|
- _preheat_end(editable.int8, 0);
|
91
|
|
- }
|
92
|
|
-
|
93
|
88
|
#if HAS_MULTI_HOTEND || HAS_HEATED_BED
|
94
|
89
|
|
95
|
90
|
// Set editable.int8 to the Material index before entering this menu
|