Implement NANODLP_Z_SYNC for 2.0.x
This commit is contained in:
		@@ -72,5 +72,13 @@ void GcodeSuite::G0_G1(
 | 
			
		||||
    #else
 | 
			
		||||
      prepare_move_to_destination();
 | 
			
		||||
    #endif
 | 
			
		||||
 | 
			
		||||
    #if ENABLED(NANODLP_Z_SYNC)
 | 
			
		||||
      // If G0/G1 command include Z-axis, wait for move and output sync text.
 | 
			
		||||
      if (parser.seenval('Z')) {
 | 
			
		||||
        stepper.synchronize();
 | 
			
		||||
        SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
 | 
			
		||||
      }
 | 
			
		||||
    #endif
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user