Merge BLTOUCH_V3 updates from upstream

This commit is contained in:
David Ramiro
2019-04-24 14:58:31 +02:00
parent a9dc675395
commit 57bb40edd3
5 changed files with 40 additions and 2 deletions

View File

@@ -2100,8 +2100,18 @@ void clean_up_after_endstop_or_probe_move() {
}
}
#if ENABLED(BLTOUCH_FORCE_5V_MODE)
bltouch_command(BLTOUCH_5V_MODE);
#elif ENABLED(BLTOUCH_V3)
bltouch_command(BLTOUCH_OD_MODE);
#endif
bltouch_command(deploy ? BLTOUCH_DEPLOY : BLTOUCH_STOW);
#if ENABLED(BLTOUCH_V3)
if (deploy) bltouch_command(BLTOUCH_SW_MODE);
#endif
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {
SERIAL_ECHOPAIR("set_bltouch_deployed(", deploy);