Browse Source

Reset, stow BLTouch before mode change (#14368)

BigIronGuru 6 years ago
parent
commit
def4bb987d
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/feature/bltouch.cpp

+ 3
- 3
Marlin/src/feature/bltouch.cpp View File

53
   //               This mode will stay active until manual SET_OD_MODE or power cycle
53
   //               This mode will stay active until manual SET_OD_MODE or power cycle
54
   // BLTOUCH V3.1: SET_5V_MODE or SET_OD_MODE (if enabled).
54
   // BLTOUCH V3.1: SET_5V_MODE or SET_OD_MODE (if enabled).
55
   //               At power on, the probe will default to the eeprom settings configured by the user
55
   //               At power on, the probe will default to the eeprom settings configured by the user
56
+  _reset();
57
+  _stow();
58
+
56
   #if ENABLED(BLTOUCH_FORCE_MODE_SET)
59
   #if ENABLED(BLTOUCH_FORCE_MODE_SET)
57
 
60
 
58
     constexpr bool should_set = true;
61
     constexpr bool should_set = true;
84
         || true
87
         || true
85
       #endif
88
       #endif
86
     ));
89
     ));
87
-
88
-  _reset();
89
-  _stow();
90
 }
90
 }
91
 
91
 
92
 void BLTouch::clear() {
92
 void BLTouch::clear() {

Loading…
Cancel
Save