From 12f5bd36485c4857e2285ddf7382bf043c225dc0 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sun, 15 Jan 2023 15:29:06 +0100 Subject: [PATCH] wizard: Do not complain about missing calibration if model is disabled This fixes #3891 without having to set the calibration bit, meaning that if the model is later re-enabled without a real calibration, a prompt is shown as expected. --- Firmware/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 981ac8b11..edd3b2a7a 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -1556,7 +1556,7 @@ void setup() if (!calibration_status_get(CALIBRATION_STATUS_LIVE_ADJUST)) lcd_show_fullscreen_message_and_wait_P(_T(MSG_BABYSTEP_Z_NOT_SET)); #ifdef TEMP_MODEL - if (!calibration_status_get(CALIBRATION_STATUS_TEMP_MODEL)) + if (!calibration_status_get(CALIBRATION_STATUS_TEMP_MODEL) && temp_model_enabled()) lcd_show_fullscreen_message_and_wait_P(_T(MSG_TM_NOT_CAL)); #endif //TEMP_MODEL }