Reset, stow BLTouch before mode change (#14368)

This commit is contained in:
BigIronGuru 2019-06-23 00:26:02 +02:00 committed by Scott Lahteine
parent 78557076ff
commit def4bb987d

View File

@ -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 // 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). // 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 // At power on, the probe will default to the eeprom settings configured by the user
_reset();
_stow();
#if ENABLED(BLTOUCH_FORCE_MODE_SET) #if ENABLED(BLTOUCH_FORCE_MODE_SET)
constexpr bool should_set = true; constexpr bool should_set = true;
@ -84,9 +87,6 @@ void BLTouch::init(const bool set_voltage/*=false*/) {
|| true || true
#endif #endif
)); ));
_reset();
_stow();
} }
void BLTouch::clear() { void BLTouch::clear() {