mirror of
https://github.com/grblHAL/core.git
synced 2026-09-24 05:53:40 +08:00
Fix for asymmetric axis kinematics triggering soft limits when enabled.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## grblHAL ##
|
||||
|
||||
Latest build date is 20260619, see the [changelog](changelog.md) for details.
|
||||
Latest build date is 20260622, see the [changelog](changelog.md) for details.
|
||||
|
||||
> [!NOTE]
|
||||
> A settings reset will be performed on an update of builds prior to 20241208. Backup and restore of settings is recommended.
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
## grblHAL changelog
|
||||
|
||||
<a name="20260626">20260626
|
||||
|
||||
Core:
|
||||
|
||||
* Fix for asymmetric axis kinematics triggering soft limits when enabled.
|
||||
|
||||
---
|
||||
|
||||
<a name="20260622">Build 20260622
|
||||
|
||||
Core:
|
||||
|
||||
+1
-1
@@ -626,7 +626,7 @@ FLASHMEM status_code_t limits_go_home (axes_signals_t cycle)
|
||||
// NOTE: Also used by jogging to block travel outside soft-limit volume.
|
||||
FLASHMEM void limits_soft_check (float *target, planner_cond_t condition)
|
||||
{
|
||||
#ifdef KINEMATICS_API
|
||||
#if defined(KINEMATICS_API) && !(defined(ASYMMETRIC_GANGING) || defined(ASYMMETRIC_AUTO_SQUARE))
|
||||
if(condition.target_validated ? !condition.target_valid : !grbl.check_travel_limits(target, sys.soft_limits, false, &sys.work_envelope)) {
|
||||
#else
|
||||
if(condition.target_validated ? !condition.target_valid : !grbl.check_travel_limits(target, sys.soft_limits, true, &sys.work_envelope)) {
|
||||
|
||||
Reference in New Issue
Block a user