Skip to content

Commit 8f3eef4

Browse files
authored
Update combi_dro.py
Fix missing decimals for work_offsets G59.(1,2,3)
1 parent 1e8c53c commit 8f3eef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/python/gladevcp/combi_dro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _get_current_system(self):
350350
if code >= 540 and code <= 590:
351351
return "G%s" % int((code / 10))
352352
elif code > 590 and code <= 593:
353-
return "G%s" % int((code / 10.0))
353+
return "G%s" % (code / 10.0)
354354
return "Rel"
355355

356356
# Get the units used according to gcode

0 commit comments

Comments
 (0)