Explorar o código

Exclude M310 if TEMP_MODEL is not enabled

Yuri D'Elia %!s(int64=2) %!d(string=hai) anos
pai
achega
48c7c9d464
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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>