Browse Source

Default TOUCH_MI_DEPLOY_XPOS to min X (#14736)

Fourmi 6 years ago
parent
commit
d34364a086
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/probe.cpp

+ 1
- 1
Marlin/src/module/probe.cpp View File

108
   // Move to the magnet to unlock the probe
108
   // Move to the magnet to unlock the probe
109
   void run_deploy_moves_script() {
109
   void run_deploy_moves_script() {
110
     #ifndef TOUCH_MI_DEPLOY_XPOS
110
     #ifndef TOUCH_MI_DEPLOY_XPOS
111
-      #define TOUCH_MI_DEPLOY_XPOS 0
111
+      #define TOUCH_MI_DEPLOY_XPOS X_MIN_POS
112
     #elif TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
112
     #elif TOUCH_MI_DEPLOY_XPOS > X_MAX_BED
113
       TemporaryGlobalEndstopsState unlock_x(false);
113
       TemporaryGlobalEndstopsState unlock_x(false);
114
     #endif
114
     #endif

Loading…
Cancel
Save