Add REPORT_TRAMMING_MM option (#19682)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									7ab74d22c4
								
							
						
					
					
						commit
						5047979340
					
				@ -806,11 +806,9 @@
 | 
			
		||||
  #define TRAMMING_POINT_NAME_3 "Back-Right"
 | 
			
		||||
  #define TRAMMING_POINT_NAME_4 "Back-Left"
 | 
			
		||||
 | 
			
		||||
  // Enable to restore leveling setup after operation
 | 
			
		||||
  #define RESTORE_LEVELING_AFTER_G35
 | 
			
		||||
 | 
			
		||||
  // Add a menu item for Assisted Tramming
 | 
			
		||||
  //#define ASSISTED_TRAMMING_MENU_ITEM
 | 
			
		||||
  #define RESTORE_LEVELING_AFTER_G35    // Enable to restore leveling setup after operation
 | 
			
		||||
  //#define REPORT_TRAMMING_MM          // Report Z deviation (mm) for each point relative to the first
 | 
			
		||||
  //#define ASSISTED_TRAMMING_MENU_ITEM // Add a menu item for Assisted Tramming
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Screw thread:
 | 
			
		||||
 | 
			
		||||
@ -160,6 +160,7 @@ void GcodeSuite::G35() {
 | 
			
		||||
             " ", (screw_thread & 1) == (adjust > 0) ? "CCW" : "CW",
 | 
			
		||||
             " by ", abs(full_turns), " turns");
 | 
			
		||||
      if (minutes) SERIAL_ECHOPAIR(" and ", abs(minutes), " minutes");
 | 
			
		||||
      if (ENABLED(REPORT_TRAMMING_MM)) SERIAL_ECHOPAIR(" (", -diff, "mm)");
 | 
			
		||||
      SERIAL_EOL();
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user