Browse Source

Implement G42, after all

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
6225870aa9
  1. 4
      Marlin/src/gcode/gcode.cpp
  2. 2
      Marlin/src/gcode/gcode_d.cpp

4
Marlin/src/gcode/gcode.cpp

@ -364,6 +364,10 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
break;
#endif
#if HAS_MESH
case 42: G42(); break; // G42: Coordinated move to a mesh point
#endif
#if ENABLED(CNC_COORDINATE_SYSTEMS)
case 53: G53(); break; // G53: (prefix) Apply native workspace
case 54: G54(); break; // G54: Switch to Workspace 1

2
Marlin/src/gcode/gcode_d.cpp

@ -165,7 +165,7 @@
case 6: // D6 Check delay loop accuracy
dump_delay_accuracy_check();
break;
break;
case 100: { // D100 Disable heaters and attempt a hard hang (Watchdog Test)
SERIAL_ECHOLNPGM("Disabling heaters and attempting to trigger Watchdog");

Loading…
Cancel
Save