Browse Source

🐛 Fix G5 IJ with Motion Mode (#21858)

vanilla_fb_2.0.x
Elton Law 3 years ago
committed by Scott Lahteine
parent
commit
72c28d3462
  1. 7
      Marlin/src/gcode/parser.cpp

7
Marlin/src/gcode/parser.cpp

@ -216,10 +216,9 @@ void GCodeParser::parse(char *p) {
break;
#if ENABLED(GCODE_MOTION_MODES)
#if ENABLED(ARC_SUPPORT)
case 'I' ... 'J':
if (motion_mode_codenum != 2 && motion_mode_codenum != 3) return;
#endif
case 'I' ... 'J':
if (motion_mode_codenum != 5 && \
TERN1(ARC_SUPPORT, motion_mode_codenum != 2 && motion_mode_codenum != 3)) return;
case 'Q':
if (motion_mode_codenum != 5) return;
case 'X' ... 'Z': case 'E' ... 'F':

Loading…
Cancel
Save