Fix compile error with Z_PROBE_END_SCRIPT (#14447)

This commit is contained in:
Ludy 2019-06-30 06:20:49 +02:00 committed by Scott Lahteine
parent d16954dc88
commit 0ca64a0ea3

View file

@ -679,7 +679,7 @@
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Z Probe End Script: ", Z_PROBE_END_SCRIPT);
if (probe_deployed) {
planner.synchronize();
process_subcommands_now_P(PSTR(Z_PROBE_END_SCRIPT));
gcode.process_subcommands_now_P(PSTR(Z_PROBE_END_SCRIPT));
}
#endif