We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8c922 commit 956db0aCopy full SHA for 956db0a
Marlin/src/module/temperature.cpp
@@ -944,8 +944,13 @@ volatile bool Temperature::raw_temps_ready = false;
944
do_blocking_move_to(tuningpos);
945
946
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));
+ #if ENABLED(DWIN_LCD_PROUI)
+ DWIN_MPCTuning(MPCTEMP_START);
949
+ LCD_ALERTMESSAGE_F(STR_MPC_COOLING_TO_AMBIENT);
950
+ #else
951
+ LCD_MESSAGE(MSG_COOLING);
952
+ #endif
953
+
954
millis_t ms = millis(), next_report_ms = ms, next_test_ms = ms + 10000UL;
955
celsius_float_t current_temp = degHotend(active_extruder),
956
ambient_temp = current_temp;
0 commit comments