Sfoglia il codice sorgente

Revert "[2.0.x]Idex and bl touch fixes" (#11407)

* Revert "[2.0.x] bltouch home refinements (#11397)"

This reverts commit 74900f7a70.

* Revert "[2.0.x]Idex and bl touch fixes (#11395)"

This reverts commit 6dafb90c01.
Roxy-3D 6 anni fa
parent
commit
16432376ab
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 4 aggiunte e 7 eliminazioni
  1. 4
    7
      Marlin/src/module/tool_change.cpp

+ 4
- 7
Marlin/src/module/tool_change.cpp Vedi File

@@ -377,7 +377,8 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
377 377
           #endif
378 378
         }
379 379
 
380
-        
380
+        // Save current position to destination, for use later
381
+        set_destination_from_current();
381 382
 
382 383
         #if HAS_LEVELING
383 384
           // Set current position to the physical position
@@ -386,15 +387,11 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
386 387
         #endif
387 388
 
388 389
         #if ENABLED(DUAL_X_CARRIAGE)
389
-          if(current_position[X_AXIS] != x_home_pos(active_extruder))
390
-            set_destination_from_current();
391
-          else
392
-            no_move = true;
390
+
393 391
           dualx_tool_change(tmp_extruder, no_move); // Can modify no_move
394 392
 
395 393
         #else // !DUAL_X_CARRIAGE
396
-          // Save current position to destination, for use later
397
-          set_destination_from_current();
394
+
398 395
           #if ENABLED(PARKING_EXTRUDER) // Dual Parking extruder
399 396
             parking_extruder_tool_change(tmp_extruder, no_move);
400 397
           #endif

Loading…
Annulla
Salva