diff --git a/klippy/console.py b/klippy/console.py index da32e18b..0a20e09e 100755 --- a/klippy/console.py +++ b/klippy/console.py @@ -5,7 +5,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import sys, optparse, os, re, logging -import util, reactor, serialhdl, pins, msgproto, clocksync +import util, reactor, serialhdl, msgproto, clocksync help_txt = """ This is a debugging console for the Klipper micro-controller. @@ -43,7 +43,6 @@ class KeyboardReader: self.fd = sys.stdin.fileno() util.set_nonblock(self.fd) self.mcu_freq = 0 - self.pins = pins.PinResolver(validate_aliases=False) self.data = "" reactor.register_fd(self.fd, self.process_kbd) reactor.register_callback(self.connect) @@ -223,11 +222,7 @@ class KeyboardReader: return None line = ''.join(evalparts) self.output("Eval: %s" % (line,)) - try: - line = self.pins.update_command(line).strip() - except: - self.output("Unable to map pin: %s" % (line,)) - return None + line = line.strip() if line: parts = line.split() if parts[0] in self.local_commands: