From def4bb987dc88303ad679347f44688b0941555c9 Mon Sep 17 00:00:00 2001
From: BigIronGuru <51454533+BigIronGuru@users.noreply.github.com>
Date: Sun, 23 Jun 2019 00:26:02 +0200
Subject: [PATCH] Reset, stow BLTouch before mode change (#14368)

---
 Marlin/src/feature/bltouch.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Marlin/src/feature/bltouch.cpp b/Marlin/src/feature/bltouch.cpp
index abaeb153ee..8c6a858181 100644
--- a/Marlin/src/feature/bltouch.cpp
+++ b/Marlin/src/feature/bltouch.cpp
@@ -53,6 +53,9 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
   //               This mode will stay active until manual SET_OD_MODE or power cycle
   // BLTOUCH V3.1: SET_5V_MODE or SET_OD_MODE (if enabled).
   //               At power on, the probe will default to the eeprom settings configured by the user
+  _reset();
+  _stow();
+
   #if ENABLED(BLTOUCH_FORCE_MODE_SET)
 
     constexpr bool should_set = true;
@@ -84,9 +87,6 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
         || true
       #endif
     ));
-
-  _reset();
-  _stow();
 }
 
 void BLTouch::clear() {
-- 
GitLab