Skip to content

Commit 839580d

Browse files
committed
Fix preheat settings not put in UI on startup. Fixes MarlinFirmware#6
1 parent 723ac82 commit 839580d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Marlin/src/lcd/dwin/cr6/touch_lcd.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,16 @@ void RTSSHOW::RTS_Init()
341341
HMI_ValueStruct.preheat_bed_temp[0] = ui.material_preset[0].bed_temp;
342342
HMI_ValueStruct.preheat_fan_speed[0] = ui.material_preset[0].fan_speed;
343343

344+
RTS_SndData(HMI_ValueStruct.preheat_hotend_temp[0], PLA_HEAD_SET_DATA_VP);
345+
RTS_SndData(HMI_ValueStruct.preheat_bed_temp[0], PLA_BED_SET_DATA_VP);
346+
344347
// ... ABS
345348
HMI_ValueStruct.preheat_hotend_temp[1] = ui.material_preset[1].hotend_temp;
346349
HMI_ValueStruct.preheat_bed_temp[1] = ui.material_preset[1].bed_temp;
347350
HMI_ValueStruct.preheat_fan_speed[1] = ui.material_preset[1].fan_speed;
351+
352+
RTS_SndData(HMI_ValueStruct.preheat_hotend_temp[1], ABS_HEAD_SET_DATA_VP);
353+
RTS_SndData(HMI_ValueStruct.preheat_bed_temp[1], ABS_BED_SET_DATA_VP);
348354

349355
rtscheck.change_page(DWINTouchPage::MAIN_MENU);
350356

0 commit comments

Comments
 (0)