Add the move_z_after_probing() functionality to UBL's G29 J
This commit is contained in:
		
							parent
							
								
									7a84b03796
								
							
						
					
					
						commit
						1d7dd0edfd
					
				@ -1562,7 +1562,12 @@
 | 
				
			|||||||
            incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
 | 
					            incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        STOW_PROBE();
 | 
				
			||||||
 | 
					        #ifdef Z_AFTER_PROBING
 | 
				
			||||||
 | 
					          move_z_after_probing();
 | 
				
			||||||
 | 
					        #endif
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        if (abort_flag) {
 | 
					        if (abort_flag) {
 | 
				
			||||||
          SERIAL_ECHOPGM("?Error probing point.  Aborting operation.\n");
 | 
					          SERIAL_ECHOPGM("?Error probing point.  Aborting operation.\n");
 | 
				
			||||||
          return;
 | 
					          return;
 | 
				
			||||||
@ -1618,9 +1623,12 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
          zig_zag ^= true;
 | 
					          zig_zag ^= true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        STOW_PROBE();
 | 
					 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					      STOW_PROBE();
 | 
				
			||||||
 | 
					      #ifdef Z_AFTER_PROBING
 | 
				
			||||||
 | 
					        move_z_after_probing();
 | 
				
			||||||
 | 
					      #endif
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
      if (abort_flag || finish_incremental_LSF(&lsf_results)) {
 | 
					      if (abort_flag || finish_incremental_LSF(&lsf_results)) {
 | 
				
			||||||
        SERIAL_ECHOPGM("Could not complete LSF!");
 | 
					        SERIAL_ECHOPGM("Could not complete LSF!");
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user