Browse Source

Apply LOGICAL_POSITION to home positions on Dual X

Scott Lahteine 8 years ago
parent
commit
41278c1e8b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

1318
     else
1318
     else
1319
       /**
1319
       /**
1320
        * In dual carriage mode the extruder offset provides an override of the
1320
        * In dual carriage mode the extruder offset provides an override of the
1321
-       * second X-carriage offset when homed - otherwise X2_HOME_POS is used.
1322
-       * This allow soft recalibration of the second extruder offset position
1321
+       * second X-carriage position when homed - otherwise X2_HOME_POS is used.
1322
+       * This allows soft recalibration of the second extruder home position
1323
        * without firmware reflash (through the M218 command).
1323
        * without firmware reflash (through the M218 command).
1324
        */
1324
        */
1325
-      return (hotend_offset[X_AXIS][1] > 0) ? hotend_offset[X_AXIS][1] : X2_HOME_POS;
1325
+      return LOGICAL_X_POSITION(hotend_offset[X_AXIS][1] > 0 ? hotend_offset[X_AXIS][1] : X2_HOME_POS);
1326
   }
1326
   }
1327
 
1327
 
1328
   static int x_home_dir(int extruder) {
1328
   static int x_home_dir(int extruder) {

Loading…
Cancel
Save