|
@@ -50,10 +50,9 @@ uint8_t MarlinUI::preheat_fan_speed[2];
|
50
|
50
|
void Temperature::lcd_preheat(const int16_t e, const int8_t indh, const int8_t indb) {
|
51
|
51
|
#if HAS_HOTEND
|
52
|
52
|
if (indh >= 0 && ui.preheat_hotend_temp[indh] > 0)
|
53
|
|
- setTargetHotend(_MIN(heater_maxtemp[e] - HOTEND_OVERSHOOT, ui.preheat_hotend_temp[indh]), e);
|
|
53
|
+ setTargetHotend(_MIN(thermalManager.heater_maxtemp[e] - HOTEND_OVERSHOOT, ui.preheat_hotend_temp[indh]), e);
|
54
|
54
|
#else
|
55
|
|
- UNUSED(e);
|
56
|
|
- UNUSED(temph);
|
|
55
|
+ UNUSED(e); UNUSED(indh);
|
57
|
56
|
#endif
|
58
|
57
|
#if HAS_HEATED_BED
|
59
|
58
|
if (indb >= 0 && ui.preheat_bed_temp[indb] > 0) setTargetBed(ui.preheat_bed_temp[indb]);
|
|
@@ -166,7 +165,7 @@ void menu_temperature() {
|
166
|
165
|
EDIT_ITEM_FAST(int3, MSG_NOZZLE, &thermalManager.temp_hotend[0].target, 0, HEATER_0_MAXTEMP - HOTEND_OVERSHOOT, []{ thermalManager.start_watching_hotend(0); });
|
167
|
166
|
#elif HAS_MULTI_HOTEND
|
168
|
167
|
HOTEND_LOOP()
|
169
|
|
- EDIT_ITEM_FAST_N(int3, e, MSG_NOZZLE_N, &thermalManager.temp_hotend[e].target, 0, heater_maxtemp[e] - HOTEND_OVERSHOOT, []{ thermalManager.start_watching_hotend(MenuItemBase::itemIndex); });
|
|
168
|
+ EDIT_ITEM_FAST_N(int3, e, MSG_NOZZLE_N, &thermalManager.temp_hotend[e].target, 0, thermalManager.heater_maxtemp[e] - HOTEND_OVERSHOOT, []{ thermalManager.start_watching_hotend(MenuItemBase::itemIndex); });
|
170
|
169
|
#endif
|
171
|
170
|
|
172
|
171
|
#if ENABLED(SINGLENOZZLE)
|