BLTouch V3.0 support (#13406)

This commit is contained in:
InsanityAutomation
2019-03-17 06:57:25 -04:00
committed by Scott Lahteine
parent 49cf92dc36
commit 691e5c3bb8
108 changed files with 860 additions and 77 deletions

View File

@ -43,6 +43,10 @@
#include "../../module/probe.h"
#endif
#if ENABLED(BLTOUCH)
#include "../../feature/bltouch.h"
#endif
#include "../../lcd/ultralcd.h"
#if HAS_DRIVER(L6470) // set L6470 absolute position registers to counts
@ -235,7 +239,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
#if ENABLED(BLTOUCH)
bltouch_init();
bltouch.init();
#endif
// Always home with tool 0 active

View File

@ -108,8 +108,8 @@ void GcodeSuite::G34() {
#endif
#if ENABLED(BLTOUCH)
bltouch_command(BLTOUCH_RESET);
set_bltouch_deployed(false);
bltouch.reset();
bltouch.stow();
#endif
// Always home with tool 0 active