chiark
/
gitweb
/
~ianmdlvl
/
marlin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7781d
)
software endstops: use *_MIN_POS and *_MAX_POS for arcs
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Aug 2012 17:15:32 +0000
(18:15 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 9 Aug 2012 17:15:32 +0000
(18:15 +0100)
If [XYZ]_HOME_POS and [XYZ]_MIN_POS aren't 0, these corrections are
wrong. Use the same logic as in Marlin.pde:prepare_move: ie, clamp to
[XYZ]_{MIN,MAX}_POS.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
No differences found