console: Update for PinResolver changes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b4280fdfe0
commit
a67451fa36
|
@ -38,7 +38,7 @@ class KeyboardReader:
|
||||||
self.fd = sys.stdin.fileno()
|
self.fd = sys.stdin.fileno()
|
||||||
util.set_nonblock(self.fd)
|
util.set_nonblock(self.fd)
|
||||||
self.mcu_freq = 0
|
self.mcu_freq = 0
|
||||||
self.pins = pins.PinResolver({}, validate_aliases=False)
|
self.pins = pins.PinResolver(validate_aliases=False)
|
||||||
self.data = ""
|
self.data = ""
|
||||||
reactor.register_fd(self.fd, self.process_kbd)
|
reactor.register_fd(self.fd, self.process_kbd)
|
||||||
reactor.register_callback(self.connect)
|
reactor.register_callback(self.connect)
|
||||||
|
|
Loading…
Reference in New Issue