Clean up some motion code

This commit is contained in:
Scott Lahteine
2019-02-25 14:28:01 -06:00
parent 808b076000
commit 5d28575d4d
4 changed files with 26 additions and 49 deletions

View File

@ -263,9 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
setup_for_endstop_or_probe_move();
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> endstops.enable(true)");
#endif
endstops.enable(true); // Enable endstops for next homing move
#if ENABLED(DELTA)