aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-10-03 19:28:20 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-10-03 22:03:52 -0400
commitce9523fb90fa537fd9a5eebd77852f6ac4c459de (patch)
treeee122d305cde6ffc0107eb275e512292c0e5fa95 /klippy/toolhead.py
parent06420b0ddf631aea1af72e3410363f8eec53a165 (diff)
downloadkutter-ce9523fb90fa537fd9a5eebd77852f6ac4c459de.tar.gz
kutter-ce9523fb90fa537fd9a5eebd77852f6ac4c459de.tar.xz
kutter-ce9523fb90fa537fd9a5eebd77852f6ac4c459de.zip
gcode: Report the raw MCU position from the M114 command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
-rw-r--r--klippy/toolhead.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/toolhead.py b/klippy/toolhead.py
index 676364dd..6ed6099e 100644
--- a/klippy/toolhead.py
+++ b/klippy/toolhead.py
@@ -349,9 +349,9 @@ class ToolHead:
while (not self.sync_print_time
or self.print_time >= self.mcu.estimated_print_time(eventtime)):
eventtime = self.reactor.pause(eventtime + 0.100)
- def query_endstops(self):
+ def query_endstops(self, query_flags=""):
last_move_time = self.get_last_move_time()
- return self.kin.query_endstops(last_move_time)
+ return self.kin.query_endstops(last_move_time, query_flags)
def set_extruder(self, extruder):
last_move_time = self.get_last_move_time()
self.extruder.set_active(last_move_time, False)