Browse Source

Patch G92.9 flags

Followup to #13703
pull/1/head
Scott Lahteine 6 years ago
parent
commit
9992c424f5
  1. 4
      Marlin/src/gcode/geometry/G92.cpp

4
Marlin/src/gcode/geometry/G92.cpp

@ -67,7 +67,11 @@ void GcodeSuite::G92() {
LOOP_XYZE(i) { LOOP_XYZE(i) {
if (parser.seenval(axis_codes[i])) { if (parser.seenval(axis_codes[i])) {
current_position[i] = parser.value_axis_units((AxisEnum)i); current_position[i] = parser.value_axis_units((AxisEnum)i);
#if IS_SCARA || !HAS_POSITION_SHIFT
if (i == E_AXIS) didE = true; else didXYZ = true; if (i == E_AXIS) didE = true; else didXYZ = true;
#elif HAS_POSITION_SHIFT
if (i == E_AXIS) didE = true;
#endif
} }
} }
} break; } break;

Loading…
Cancel
Save