diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-24 15:54:18 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-24 15:54:18 -0400 |
commit | 64031ab3d7c5a857d5bdaa975752112f2da38a49 (patch) | |
tree | 9b2133ae16967a6464f44779c98120c38c99dd0d /klippy/extras/gcode_button.py | |
parent | 61524542d20e50c4866836d6ed23ca03521ffb15 (diff) | |
download | kutter-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/gcode_button.py')
-rw-r--r-- | klippy/extras/gcode_button.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/gcode_button.py b/klippy/extras/gcode_button.py index f6ec5870..757d8f7a 100644 --- a/klippy/extras/gcode_button.py +++ b/klippy/extras/gcode_button.py @@ -26,7 +26,7 @@ class GCodeButton: cmd_QUERY_BUTTON_help = "Report on the state of a button" def cmd_QUERY_BUTTON(self, params): - self.gcode.respond(self.name + ": " + self.get_status()['state']) + self.gcode.respond_info(self.name + ": " + self.get_status()['state']) def button_callback(self, eventtime, state): self.last_state = state |