mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 15:14:00 -06:00
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>
This commit is contained in:
parent
61524542d2
commit
64031ab3d7
8 changed files with 31 additions and 31 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue