mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 20:28:10 -06:00
gcode: Move definition of CommandError and Coord from homing.py to gcode.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c8434ec54b
commit
ea85d419de
6 changed files with 24 additions and 28 deletions
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
import sys, os, gc, optparse, logging, time, collections, importlib
|
||||
import util, reactor, queuelogger, msgproto, homing
|
||||
import util, reactor, queuelogger, msgproto
|
||||
import gcode, configfile, pins, mcu, toolhead, webhooks
|
||||
|
||||
message_ready = "Printer is ready"
|
||||
|
@ -47,7 +47,7 @@ Printer is shutdown
|
|||
|
||||
class Printer:
|
||||
config_error = configfile.error
|
||||
command_error = homing.CommandError
|
||||
command_error = gcode.CommandError
|
||||
def __init__(self, main_reactor, bglogger, start_args):
|
||||
self.bglogger = bglogger
|
||||
self.start_args = start_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue