Added HOME_POS. This adds the posibility to make the center 0
Updated the Xsteps ... settings via the LCD menu
This commit is contained in:
parent
df1437bd86
commit
ae3e7586c6
5 changed files with 58 additions and 34 deletions
|
|
@ -446,9 +446,9 @@ void plan_buffer_line(float &x, float &y, float &z, float &e, float feed_rate, u
|
|||
|
||||
|
||||
if (min_software_endstops) {
|
||||
if (x < 0) x = 0;
|
||||
if (y < 0) y = 0;
|
||||
if (z < 0) z = 0;
|
||||
if (x < X_HOME_POS) x = X_HOME_POS;
|
||||
if (y < Y_HOME_POS) y = Y_HOME_POS;
|
||||
if (z < Z_HOME_POS) z = Z_HOME_POS;
|
||||
}
|
||||
|
||||
if (max_software_endstops) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue