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:
parent
c6db133907
commit
ca6ab18ae5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user