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:
Kevin O'Connor 2020-04-24 15:54:18 -04:00
parent 61524542d2
commit 64031ab3d7
8 changed files with 31 additions and 31 deletions

View file

@ -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