Procházet zdrojové kódy

Revert potentially-not-redundant UBL test

Response to #10435
Scott Lahteine před 7 roky
rodič
revize
c82dd5129f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp Zobrazit soubor

1387
         const float rawx = mesh_index_to_xpos(location.x_index),
1387
         const float rawx = mesh_index_to_xpos(location.x_index),
1388
                     rawy = mesh_index_to_ypos(location.y_index);
1388
                     rawy = mesh_index_to_ypos(location.y_index);
1389
 
1389
 
1390
-        //if (!position_is_reachable(rawx, rawy)) break;            // SHOULD NOT OCCUR because find_closest_mesh_point_of_type will only return reachable
1390
+        if (!position_is_reachable(rawx, rawy)) break;              // SHOULD NOT OCCUR because find_closest_mesh_point_of_type will only return reachable
1391
 
1391
 
1392
         do_blocking_move_to(rawx, rawy, Z_CLEARANCE_BETWEEN_PROBES); // Move the nozzle to the edit point with probe clearance
1392
         do_blocking_move_to(rawx, rawy, Z_CLEARANCE_BETWEEN_PROBES); // Move the nozzle to the edit point with probe clearance
1393
 
1393
 

Loading…
Zrušit
Uložit