diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-28 13:14:56 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-29 21:54:45 -0500 |
commit | 5d805ba55059750e79c8b507d164c55a14c6d737 (patch) | |
tree | 83342573f394dd96e14e1b2d6433caf495373c30 /klippy/gcode.py | |
parent | bafe796eeb70703ea44a368614f3cc5be0898b45 (diff) | |
download | kutter-5d805ba55059750e79c8b507d164c55a14c6d737.tar.gz kutter-5d805ba55059750e79c8b507d164c55a14c6d737.tar.xz kutter-5d805ba55059750e79c8b507d164c55a14c6d737.zip |
klippy: Run the MCU connect code within the reactor
Setup the reactor and run the MCU connection code as a timer within
the reactor. The connection code will make use of reactor greenlets
so that it can wait for events during the connection phase.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r-- | klippy/gcode.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py index 2c57ed49..e4798159 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -59,7 +59,6 @@ class GCodeParser: for h in handlers) def run(self): self.fd_handle = self.reactor.register_fd(self.fd, self.process_data) - self.reactor.run() def finish(self): self.reactor.end() self.toolhead.motor_off() |