Browse Source

🐛 Fix reset_hotend_offsets

Scott Lahteine 3 years ago
parent
commit
35ad3b0d3b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/motion.cpp

+ 1
- 1
Marlin/src/module/motion.cpp View File

124
       "Offsets for the first hotend must be 0.0."
124
       "Offsets for the first hotend must be 0.0."
125
     );
125
     );
126
     // Transpose from [XYZ][HOTENDS] to [HOTENDS][XYZ]
126
     // Transpose from [XYZ][HOTENDS] to [HOTENDS][XYZ]
127
-    HOTEND_LOOP() LOOP_LINEAR_AXES(a) hotend_offset[e][a] = tmp[a][e];
127
+    HOTEND_LOOP() LOOP_ABC(a) hotend_offset[e][a] = tmp[a][e];
128
     #if ENABLED(DUAL_X_CARRIAGE)
128
     #if ENABLED(DUAL_X_CARRIAGE)
129
       hotend_offset[1].x = _MAX(X2_HOME_POS, X2_MAX_POS);
129
       hotend_offset[1].x = _MAX(X2_HOME_POS, X2_MAX_POS);
130
     #endif
130
     #endif

Loading…
Cancel
Save