From 48c7c9d464115e2ef77b06def1b2f6a326b38bf3 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Thu, 30 Jun 2022 14:54:36 +0200 Subject: [PATCH] Exclude M310 if TEMP_MODEL is not enabled --- Firmware/Marlin_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index b6236ed7..3ca6681f 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -7773,6 +7773,7 @@ Sigma_Exit: } break; +#ifdef TEMP_MODEL /*! ### M310 - Temperature model #### Usage @@ -7828,6 +7829,7 @@ Sigma_Exit: if(A >= 0) temp_model_autotune(A); } break; +#endif /*! ### M400 - Wait for all moves to finish M400: Wait for current moves to finish