From a495a411190695431e94d094aab0f9f644ede8ca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Aug 2012 18:15:32 +0100 Subject: [PATCH] new --- meta | 5 +++-- patches/motion-control-max-min | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 patches/motion-control-max-min diff --git a/meta b/meta index 470efa8..e44b382 100644 --- a/meta +++ b/meta @@ -1,10 +1,11 @@ Version: 1 -Previous: acde3daad4d8e40b7825d7d49eecfc39820548cb -Head: 3f7781d27a680fa4faeb5d7f38250e4877632ce3 +Previous: 2698fdf6808173011d7a39ff3dc1f7702ce3b41b +Head: 456350b64daecdfc92549f7e9fb8b9ad01da35dc Applied: marlin-pde-include-comment-for: 121f976406e6921f5b511f6dc4882985cf4b4133 add-to-marlin-gitignore: 83dcad520f19d2ea6f1164b9c04e1430b679b3e2 makefile-support-v-1: 3f7781d27a680fa4faeb5d7f38250e4877632ce3 + motion-control-max-min: 456350b64daecdfc92549f7e9fb8b9ad01da35dc Unapplied: m206-always-use-homing-homeing: de0f25662682c874c516c412c8154840f50a236c eeprom-provide-smaller-code-fo: 908bebda77f754b762a36f96bc7d938aca4935ba diff --git a/patches/motion-control-max-min b/patches/motion-control-max-min new file mode 100644 index 0000000..7bb1a2a --- /dev/null +++ b/patches/motion-control-max-min @@ -0,0 +1,17 @@ +Bottom: eb35f0d7db096a862ee737a5537019f96d6e6f16 +Top: eb35f0d7db096a862ee737a5537019f96d6e6f16 +Author: Ian Jackson +Date: 2012-08-09 18:15:32 +0100 + +software endstops: use *_MIN_POS and *_MAX_POS for arcs + +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 + + +--- + + -- 2.30.2