浏览代码

Exclude M310 if TEMP_MODEL is not enabled

Yuri D'Elia 2 年之前
父节点
当前提交
48c7c9d464
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Firmware/Marlin_main.cpp

+ 2 - 0
Firmware/Marlin_main.cpp

@@ -7773,6 +7773,7 @@ Sigma_Exit:
     }
     }
     break;
     break;
 
 
+#ifdef TEMP_MODEL
     /*!
     /*!
     ### M310 - Temperature model
     ### M310 - Temperature model
     #### Usage
     #### Usage
@@ -7828,6 +7829,7 @@ Sigma_Exit:
         if(A >= 0) temp_model_autotune(A);
         if(A >= 0) temp_model_autotune(A);
     }
     }
     break;
     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>
 	### 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>