Browse Source

ifdef for SNMM

PavelSindler 7 years ago
parent
commit
07c0413f43
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Firmware/Marlin_main.cpp

+ 2 - 1
Firmware/Marlin_main.cpp

@@ -5769,7 +5769,7 @@ case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
 
   else if(code_seen('T'))
   {
-	#ifdef SNMM
+	
 	  int index;
 	  st_synchronize();
 	  for (index = 1; *(strchr_pointer + index) == ' ' || *(strchr_pointer + index) == '\t'; index++);
@@ -5785,6 +5785,7 @@ case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
 			  tmp_extruder = code_value();
 		  }
 		  snmm_filaments_used |= (1 << tmp_extruder); //for stop print
+#ifdef SNMM
       #ifdef LIN_ADVANCE
         if (snmm_extruder != tmp_extruder)
           clear_current_adv_vars(); //Check if the selected extruder is not the active one and reset LIN_ADVANCE variables if so.