gcode: Add a "STATUS" command
Add a status command that will report the current printer status. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -153,7 +153,7 @@ class Printer:
|
||||
self.build_config()
|
||||
self.validate_config()
|
||||
self.gcode.set_printer_ready(True)
|
||||
self.state_message = "Running"
|
||||
self.state_message = "Printer is ready"
|
||||
except ConfigParser.Error, e:
|
||||
logging.exception("Config error")
|
||||
self.state_message = "%s%s" % (str(e), message_restart)
|
||||
|
||||
Reference in New Issue
Block a user