From 793a04c1de7b4a8eea7250f5b8c31ed26cafff26 Mon Sep 17 00:00:00 2001 From: Luca Toniolo <10792599+grandixximo@users.noreply.github.com> Date: Sat, 22 Aug 2026 11:18:59 +1000 Subject: [PATCH] gladevcp: fix velocity DRO row position on non-lathes The lathe test guarding the insertion index in hal_gremlin's dro_format referenced the bound method instead of calling it, so it was always truthy and every machine got the lathe offset. On a mill the Vel row was inserted one slot too low, below the blank separator that precedes the G5x offset block, instead of directly under the axis rows. Lathe output is unchanged, since there the extra offset is what the inserted Rad/Dia row calls for. --- lib/python/gladevcp/hal_gremlin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/gladevcp/hal_gremlin.py b/lib/python/gladevcp/hal_gremlin.py index c0cfd5675ea..03196116611 100644 --- a/lib/python/gladevcp/hal_gremlin.py +++ b/lib/python/gladevcp/hal_gremlin.py @@ -261,7 +261,7 @@ def dro_format(self,s,spd,dtg,limit,homed,positions,axisdtg,g5x_offset,g92_offse pos=0 for i in range(9): if s.axis_mask & (1<