1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

Fixes DebugLinkGetState

This commit is contained in:
slush0 2014-01-12 16:17:22 +01:00
parent c6db133907
commit ca6ab18ae5

View File

@ -15,7 +15,7 @@ class DebugLink(object):
self.button_func = button_func
def read_pin(self):
self.transport.write(proto.DebugLinkGetState(pin=True, matrix=True))
self.transport.write(proto.DebugLinkGetState())
obj = self.transport.read_blocking()
print "Read PIN:", obj.pin
print "Read matrix:", obj.matrix