diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-01-08 12:07:45 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-01-08 12:07:45 -0500 |
commit | ea85d419dea23cac464763c9b36e1b59c9074588 (patch) | |
tree | 5671dd7cf1a2c2ec2a05a87c1f5337e280100185 /klippy/homing.py | |
parent | c8434ec54b0517503af4aeee9016783d508118b0 (diff) | |
download | kutter-ea85d419dea23cac464763c9b36e1b59c9074588.tar.gz kutter-ea85d419dea23cac464763c9b36e1b59c9074588.tar.xz kutter-ea85d419dea23cac464763c9b36e1b59c9074588.zip |
gcode: Move definition of CommandError and Coord from homing.py to gcode.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/klippy/homing.py b/klippy/homing.py index 2e2e072d..49f5a8dc 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -1,6 +1,6 @@ # Code for state tracking during homing operations # -# Copyright (C) 2016-2019 Kevin O'Connor <kevin@koconnor.net> +# Copyright (C) 2016-2021 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. import logging, math, collections @@ -157,8 +157,3 @@ def multi_complete(printer, completions): return completions[0] cb = (lambda e: all([c.wait() for c in completions])) return printer.get_reactor().register_callback(cb) - -class CommandError(Exception): - pass - -Coord = collections.namedtuple('Coord', ('x', 'y', 'z', 'e')) |