Fix for asymmetric axis kinematics triggering soft limits when enabled.

This commit is contained in:
Terje Io
2026-06-26 07:27:59 +02:00
parent 03a7dd9572
commit 4521e88c0f
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -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.
+8
View File
@@ -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
View File
@@ -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)) {