Skip to content

Commit

Permalink
Merge branch '2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
c-morley committed Nov 27, 2023
2 parents 667249d + 019db91 commit f4e3b1d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
8 changes: 7 additions & 1 deletion lib/python/qtvcp/widgets/probe_subprog.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,18 @@ def collect_status(self):

# need to be in the right mode - entries are in machine units
def prechecks(self):
# This is a work around. If a user sets the spindle running in MDI
# but turn it off with a manual button, then when M72 will turn the
# spindle back on! So we explicitly set M5 here.
ACTION.CALL_MDI('M5')
# record current G,S,M codes
ACTION.CALL_MDI('M70')

# set proper mode based on what machine is based
if INFO.MACHINE_IS_METRIC and STATUS.is_metric_mode():
return None
if not INFO.MACHINE_IS_METRIC and not STATUS.is_metric_mode():
return None
# record motion modes
if INFO.MACHINE_IS_METRIC:
ACTION.CALL_MDI('g21')
else:
Expand Down
2 changes: 1 addition & 1 deletion share/qtvcp/screens/qtdragon/qtdragon_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
WARNING = 1
CRITICAL = 2

VERSION ='1.0'
VERSION ='1.1'

class HandlerClass:
def __init__(self, halcomp, widgets, paths):
Expand Down
5 changes: 5 additions & 0 deletions share/qtvcp/screens/qtdragon/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Qtdragon

version 1.0 released in linuxcnc 2.9.1

version 1.1 fix probe routines: spindle starts on error or abort
2 changes: 1 addition & 1 deletion share/qtvcp/screens/qtdragon_hd/qtdragon_hd_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
WARNING = 1
CRITICAL = 2

VERSION ='1.0'
VERSION ='1.1'

class HandlerClass:
def __init__(self, halcomp, widgets, paths):
Expand Down
5 changes: 5 additions & 0 deletions share/qtvcp/screens/qtdragon_hd/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Qtdragon_hd

version 1.0 released in linuxcnc 2.9.1

version 1.1 fix probe routines: spindle starts on error or abort

0 comments on commit f4e3b1d

Please sign in to comment.