Commit 3695de33 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't process internal M114 through onecmd() but send them directly

parent 703eab75
......@@ -957,7 +957,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.onecmd('home')
else:
return
self.onecmd('M114')
self.p.send_now('M114')
def moveXY(self, x, y):
# When user clicks on the XY control, the Z control no longer gets spacebar/repeat signals
......@@ -968,12 +968,12 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.onecmd('move Y %s' % y)
else:
return
self.onecmd('M114')
self.p.send_now('M114')
def moveZ(self, z):
if z != 0:
self.onecmd('move Z %s' % z)
self.onecmd('M114')
self.p.send_now('M114')
# When user clicks on the Z control, the XY control no longer gets spacebar/repeat signals
self.xyb.clearRepeat()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment