Browse Source

Move the Z probe as far as needed to trigger the switch (PR#2461)

Scott Lahteine 10 years ago
parent
commit
f209b755a5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

1229
       feedrate = homing_feedrate[Z_AXIS];
1229
       feedrate = homing_feedrate[Z_AXIS];
1230
 
1230
 
1231
       // Move down until the probe (or endstop?) is triggered
1231
       // Move down until the probe (or endstop?) is triggered
1232
-      float zPosition = -10;
1232
+      float zPosition = -(Z_MAX_LENGTH + 10);
1233
       line_to_z(zPosition);
1233
       line_to_z(zPosition);
1234
       st_synchronize();
1234
       st_synchronize();
1235
 
1235
 

Loading…
Cancel
Save