Просмотр исходного кода

Exclude M310 if TEMP_MODEL is not enabled

Yuri D'Elia 2 лет назад
Родитель
Сommit
48c7c9d464
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Firmware/Marlin_main.cpp

+ 2 - 0
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 <a href="https://reprap.org/wiki/G-code#M400:_Wait_for_current_moves_to_finish">M400: Wait for current moves to finish</a>