Fix M420 (UBL) undefined variables (#15621)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							efeb6efe77
						
					
				
				
					commit
					6bcd4eb12d
				
			| @@ -64,9 +64,9 @@ void GcodeSuite::M420() { | ||||
|  | ||||
|   #if ENABLED(MARLIN_DEV_MODE) | ||||
|     if (parser.intval('S') == 2) { | ||||
|       const float x_min = probe_min_x(), x_max = probe_max_x(), | ||||
|                   y_min = probe_min_y(), y_max = probe_max_y(); | ||||
|       #if ENABLED(AUTO_BED_LEVELING_BILINEAR) | ||||
|         const float x_min = probe_min_x(), x_max = probe_max_x(), | ||||
|                     y_min = probe_min_y(), y_max = probe_max_y(); | ||||
|         bilinear_start.set(x_min, y_min); | ||||
|         bilinear_grid_spacing.set((x_max - x_min) / (GRID_MAX_POINTS_X - 1), | ||||
|                                   (y_max - y_min) / (GRID_MAX_POINTS_Y - 1)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user