aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/query_endstops.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-04-24 15:54:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-04-24 15:54:18 -0400
commit64031ab3d7c5a857d5bdaa975752112f2da38a49 (patch)
tree9b2133ae16967a6464f44779c98120c38c99dd0d /klippy/extras/query_endstops.py
parent61524542d20e50c4866836d6ed23ca03521ffb15 (diff)
downloadkutter-64031ab3d7c5a857d5bdaa975752112f2da38a49.tar.gz
kutter-64031ab3d7c5a857d5bdaa975752112f2da38a49.tar.xz
kutter-64031ab3d7c5a857d5bdaa975752112f2da38a49.zip
gcode: Rename respond() to respond_raw()
Rename the method to make it more clear that it is a low-level call that should be rarely used. Also, change gcode_button.py, hall_filament_width_sensor.py, and tsl1401cl_filament_width_sensor.py to use respond_info() instead of respond_raw(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/query_endstops.py')
-rw-r--r--klippy/extras/query_endstops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/query_endstops.py b/klippy/extras/query_endstops.py
index 9682228f..f4bcbd81 100644
--- a/klippy/extras/query_endstops.py
+++ b/klippy/extras/query_endstops.py
@@ -27,7 +27,7 @@ class QueryEndstops:
msg = " ".join(["%s:%s" % (name, ["open", "TRIGGERED"][not not t])
for name, t in self.last_state])
gcode = self.printer.lookup_object('gcode')
- gcode.respond(msg)
+ gcode.respond_raw(msg)
def load_config(config):
return QueryEndstops(config)