🐛 Fix ProUI / JyersUI leveling preheat (#24060, #24064)

Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Keith Bennett
2022-04-19 17:16:26 -07:00
committed by Scott Lahteine
parent 4c84769a81
commit 7fa2dcedda
4 changed files with 16 additions and 20 deletions

View File

@ -433,7 +433,13 @@ G29_TYPE GcodeSuite::G29() {
remember_feedrate_scaling_off();
#if ENABLED(PREHEAT_BEFORE_LEVELING)
if (!abl.dryrun) probe.preheat_for_probing(LEVELING_NOZZLE_TEMP, LEVELING_BED_TEMP);
if (!abl.dryrun) probe.preheat_for_probing(LEVELING_NOZZLE_TEMP,
#if BOTH(DWIN_LCD_PROUI, HAS_HEATED_BED)
HMI_data.BedLevT
#else
LEVELING_BED_TEMP
#endif
);
#endif
}