console: Update for PinResolver changes

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-08-19 23:52:02 -04:00
parent b4280fdfe0
commit a67451fa36
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class KeyboardReader:
self.fd = sys.stdin.fileno()
util.set_nonblock(self.fd)
self.mcu_freq = 0
self.pins = pins.PinResolver({}, validate_aliases=False)
self.pins = pins.PinResolver(validate_aliases=False)
self.data = ""
reactor.register_fd(self.fd, self.process_kbd)
reactor.register_callback(self.connect)