Browse Source

A little extra gcode_T spacing

Scott Lahteine 8 years ago
parent
commit
462a8a951e
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Marlin/Marlin_main.cpp

+ 7
- 0
Marlin/Marlin_main.cpp View File

@@ -6374,20 +6374,27 @@ inline void gcode_T(uint8_t tmp_extruder) {
6374 6374
           #endif
6375 6375
 
6376 6376
         #else // !AUTO_BED_LEVELING_FEATURE
6377
+
6377 6378
           // Offset extruder (only by XY)
6378 6379
           for (int i=X_AXIS; i<=Y_AXIS; i++)
6379 6380
             current_position[i] += extruder_offset[i][tmp_extruder] - extruder_offset[i][active_extruder];
6381
+
6380 6382
         #endif // !AUTO_BED_LEVELING_FEATURE
6383
+
6381 6384
         // Set the new active extruder and position
6382 6385
         active_extruder = tmp_extruder;
6386
+
6383 6387
       #endif // !DUAL_X_CARRIAGE
6388
+
6384 6389
       #if ENABLED(DELTA)
6385 6390
         sync_plan_position_delta();
6386 6391
       #else
6387 6392
         sync_plan_position();
6388 6393
       #endif
6394
+
6389 6395
       // Move to the old position
6390 6396
       if (IsRunning()) prepare_move();
6397
+
6391 6398
     } // (tmp_extruder != active_extruder)
6392 6399
 
6393 6400
     #if ENABLED(EXT_SOLENOID)

Loading…
Cancel
Save