Default TOUCH_MI_DEPLOY_XPOS to min X (#14736)

2.0.x
Fourmi 5 years ago committed by Scott Lahteine
parent ead6bb267d
commit d34364a086

@ -108,7 +108,7 @@ float zprobe_zoffset; // Initialized by settings.load()
// Move to the magnet to unlock the probe // Move to the magnet to unlock the probe
void run_deploy_moves_script() { void run_deploy_moves_script() {
#ifndef TOUCH_MI_DEPLOY_XPOS #ifndef TOUCH_MI_DEPLOY_XPOS
#define TOUCH_MI_DEPLOY_XPOS 0 #define TOUCH_MI_DEPLOY_XPOS X_MIN_POS
#elif TOUCH_MI_DEPLOY_XPOS > X_MAX_BED #elif TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
TemporaryGlobalEndstopsState unlock_x(false); TemporaryGlobalEndstopsState unlock_x(false);
#endif #endif

Loading…
Cancel
Save