Skip to content

Commit 956db0a

Browse files
committed
cleanup
1 parent 7e8c922 commit 956db0a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Marlin/src/module/temperature.cpp

+7-2
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,13 @@ volatile bool Temperature::raw_temps_ready = false;
944944
do_blocking_move_to(tuningpos);
945945

946946
SERIAL_ECHOLNPGM(STR_MPC_COOLING_TO_AMBIENT);
947-
TERN_(DWIN_LCD_PROUI, DWIN_MPCTuning(MPCTEMP_START));
948-
TERN(DWIN_LCD_PROUI, LCD_ALERTMESSAGE_F(STR_MPC_COOLING_TO_AMBIENT), LCD_MESSAGE(MSG_COOLING));
947+
#if ENABLED(DWIN_LCD_PROUI)
948+
DWIN_MPCTuning(MPCTEMP_START);
949+
LCD_ALERTMESSAGE_F(STR_MPC_COOLING_TO_AMBIENT);
950+
#else
951+
LCD_MESSAGE(MSG_COOLING);
952+
#endif
953+
949954
millis_t ms = millis(), next_report_ms = ms, next_test_ms = ms + 10000UL;
950955
celsius_float_t current_temp = degHotend(active_extruder),
951956
ambient_temp = current_temp;

0 commit comments

Comments
 (0)