diff options
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r-- | klippy/klippy.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py index bdcfd0fc..8850361d 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -81,7 +81,7 @@ class Printer: self.mcu.connect_file(self.debugoutput, self.dictionary) self.mcu.connect() self.build_config() - self.gcode.run() + self.gcode.set_printer_ready(True) self.reactor.unregister_timer(self.connect_timer) return self.reactor.NEVER def run(self): @@ -90,8 +90,8 @@ class Printer: self.stats(time.time()) self.mcu.disconnect() self.stats(time.time()) - def shutdown(self): - self.gcode.shutdown() + def note_shutdown(self): + self.gcode.set_printer_ready(False) ###################################################################### |