Merge pull request #8536 from thinkyhead/bf2_nanodlp_z_move_sync

[2.0.x] Implement NANODLP_Z_SYNC for 2.0.x
This commit is contained in:
Scott Lahteine
2017-11-24 13:11:14 -06:00
committed by GitHub
37 changed files with 355 additions and 8 deletions

View File

@ -72,5 +72,13 @@ void GcodeSuite::G0_G1(
#else
prepare_move_to_destination();
#endif
#if ENABLED(NANODLP_Z_SYNC)
// If G0/G1 command include Z-axis, wait for move and output sync text.
if (parser.seenval('Z')) {
stepper.synchronize();
SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
}
#endif
}
}