Default TOUCH_MI_DEPLOY_XPOS to min X (#14736)

This commit is contained in:
Fourmi 2019-07-27 04:57:13 +02:00 committed by Scott Lahteine
parent ead6bb267d
commit d34364a086

View file

@ -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