🐛 Fix reset_hotend_offsets

This commit is contained in:
Scott Lahteine 2021-09-23 11:09:43 -05:00
parent 2c30b75268
commit d338872e85

View file

@ -124,7 +124,7 @@ xyze_pos_t destination; // {0}
"Offsets for the first hotend must be 0.0." "Offsets for the first hotend must be 0.0."
); );
// Transpose from [XYZ][HOTENDS] to [HOTENDS][XYZ] // Transpose from [XYZ][HOTENDS] to [HOTENDS][XYZ]
HOTEND_LOOP() LOOP_LINEAR_AXES(a) hotend_offset[e][a] = tmp[a][e]; HOTEND_LOOP() LOOP_ABC(a) hotend_offset[e][a] = tmp[a][e];
#if ENABLED(DUAL_X_CARRIAGE) #if ENABLED(DUAL_X_CARRIAGE)
hotend_offset[1].x = _MAX(X2_HOME_POS, X2_MAX_POS); hotend_offset[1].x = _MAX(X2_HOME_POS, X2_MAX_POS);
#endif #endif