|
@@ -680,7 +680,7 @@ void MarlinSettings::postprocess() {
|
680
|
680
|
{
|
681
|
681
|
_FIELD_TEST(lcd_preheat_hotend_temp);
|
682
|
682
|
|
683
|
|
- #if DISABLED(ULTIPANEL)
|
|
683
|
+ #if !HAS_LCD_MENU
|
684
|
684
|
constexpr int16_t lcd_preheat_hotend_temp[2] = { PREHEAT_1_TEMP_HOTEND, PREHEAT_2_TEMP_HOTEND },
|
685
|
685
|
lcd_preheat_bed_temp[2] = { PREHEAT_1_TEMP_BED, PREHEAT_2_TEMP_BED };
|
686
|
686
|
constexpr uint8_t lcd_preheat_fan_speed[2] = { PREHEAT_1_FAN_SPEED, PREHEAT_2_FAN_SPEED };
|
|
@@ -1306,7 +1306,7 @@ void MarlinSettings::postprocess() {
|
1306
|
1306
|
{
|
1307
|
1307
|
_FIELD_TEST(lcd_preheat_hotend_temp);
|
1308
|
1308
|
|
1309
|
|
- #if DISABLED(ULTIPANEL)
|
|
1309
|
+ #if !HAS_LCD_MENU
|
1310
|
1310
|
int16_t lcd_preheat_hotend_temp[2], lcd_preheat_bed_temp[2];
|
1311
|
1311
|
uint8_t lcd_preheat_fan_speed[2];
|
1312
|
1312
|
#endif
|
|
@@ -2027,7 +2027,7 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2027
|
2027
|
|
2028
|
2028
|
#endif
|
2029
|
2029
|
|
2030
|
|
- #if ENABLED(ULTIPANEL)
|
|
2030
|
+ #if HAS_LCD_MENU
|
2031
|
2031
|
lcd_preheat_hotend_temp[0] = PREHEAT_1_TEMP_HOTEND;
|
2032
|
2032
|
lcd_preheat_hotend_temp[1] = PREHEAT_2_TEMP_HOTEND;
|
2033
|
2033
|
lcd_preheat_bed_temp[0] = PREHEAT_1_TEMP_BED;
|
|
@@ -2184,7 +2184,7 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2184
|
2184
|
#endif
|
2185
|
2185
|
SERIAL_EOL_P(port);
|
2186
|
2186
|
|
2187
|
|
- #if ENABLED(ULTIPANEL)
|
|
2187
|
+ #if HAS_LCD_MENU
|
2188
|
2188
|
|
2189
|
2189
|
// Temperature units - for Ultipanel temperature options
|
2190
|
2190
|
|
|
@@ -2555,7 +2555,8 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2555
|
2555
|
|
2556
|
2556
|
#endif // [XYZ]_DUAL_ENDSTOPS
|
2557
|
2557
|
|
2558
|
|
- #if ENABLED(ULTIPANEL)
|
|
2558
|
+ #if HAS_LCD_MENU
|
|
2559
|
+
|
2559
|
2560
|
if (!forReplay) {
|
2560
|
2561
|
CONFIG_ECHO_START;
|
2561
|
2562
|
SERIAL_ECHOLNPGM_P(port, "Material heatup parameters:");
|
|
@@ -2567,7 +2568,8 @@ void MarlinSettings::reset(PORTARG_SOLO) {
|
2567
|
2568
|
SERIAL_ECHOPAIR_P(port, " B", TEMP_UNIT(lcd_preheat_bed_temp[i]));
|
2568
|
2569
|
SERIAL_ECHOLNPAIR_P(port, " F", int(lcd_preheat_fan_speed[i]));
|
2569
|
2570
|
}
|
2570
|
|
- #endif // ULTIPANEL
|
|
2571
|
+
|
|
2572
|
+ #endif
|
2571
|
2573
|
|
2572
|
2574
|
#if HAS_PID_HEATING
|
2573
|
2575
|
|