Skip to content

Commit f79ee8d

Browse files
ellenspthinkyhead
authored andcommitted
🐛 Fix Hotend > 0 Preheat (#27932)
1 parent b139d61 commit f79ee8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/marlinui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ class MarlinUI {
523523
static FSTR_P get_preheat_label(const uint8_t m);
524524
static void apply_preheat(const uint8_t m, const uint8_t pmask, const uint8_t e=active_extruder);
525525
static void preheat_set_fan(const uint8_t m) { TERN_(HAS_FAN, apply_preheat(m, _BV(PT_FAN))); }
526-
static void preheat_hotend(const uint8_t m, const uint8_t e=active_extruder) { TERN_(HAS_HOTEND, apply_preheat(m, _BV(PT_HOTEND))); }
526+
static void preheat_hotend(const uint8_t m, const uint8_t e=active_extruder) { TERN_(HAS_HOTEND, apply_preheat(m, _BV(PT_HOTEND), e)); }
527527
static void preheat_hotend_and_fan(const uint8_t m, const uint8_t e=active_extruder) { preheat_hotend(m, e); preheat_set_fan(m); }
528528
static void preheat_bed(const uint8_t m) { TERN_(HAS_HEATED_BED, apply_preheat(m, _BV(PT_BED))); }
529529
static void preheat_all(const uint8_t m) { apply_preheat(m, PT_ALL); }

0 commit comments

Comments
 (0)