Move G38 to cpp

This commit is contained in:
Scott Lahteine
2017-09-15 23:44:29 -05:00
parent b8adae0785
commit 84ddae56a8
4 changed files with 15 additions and 9 deletions

View File

@ -116,7 +116,6 @@ void GcodeSuite::dwell(millis_t time) {
//
// Placeholders for non-migrated codes
//
extern void gcode_G38(bool is_38_2);
extern void gcode_G42();
extern void gcode_G92();
extern void gcode_M0_M1();
@ -385,7 +384,7 @@ void GcodeSuite::process_next_command() {
#if ENABLED(G38_PROBE_TARGET)
case 38: // G38.2 & G38.3
if (parser.subcode == 2 || parser.subcode == 3)
gcode_G38(parser.subcode == 2);
G38(parser.subcode == 2);
break;
#endif