mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 20:28:10 -06:00
gcode: Send proactive state messages
Send a g-code info message on printer state changes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
91691afdcf
commit
094b9de69e
3 changed files with 13 additions and 6 deletions
|
@ -139,7 +139,7 @@ class Printer:
|
|||
self.state_message = message_startup
|
||||
self.is_shutdown = False
|
||||
self.run_result = None
|
||||
self.state_cb = []
|
||||
self.state_cb = [gc.printer_state]
|
||||
def get_start_args(self):
|
||||
return self.start_args
|
||||
def get_reactor(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue