⚡️ G12 - Only require used axes to be homed (#23422)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							5d9ab7e71e
						
					
				
				
					commit
					8257040faf
				
			@@ -46,7 +46,8 @@
 | 
			
		||||
 */
 | 
			
		||||
void GcodeSuite::G12() {
 | 
			
		||||
  // Don't allow nozzle cleaning without homing first
 | 
			
		||||
  if (homing_needed_error()) return;
 | 
			
		||||
  if (homing_needed_error(linear_bits & ~TERN0(NOZZLE_CLEAN_NO_Z, Z_AXIS) & ~TERN0(NOZZLE_CLEAN_NO_Y, Y_AXIS)))
 | 
			
		||||
    return;
 | 
			
		||||
 | 
			
		||||
  #ifdef WIPE_SEQUENCE_COMMANDS
 | 
			
		||||
    if (!parser.seen_any()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user