Fixes DebugLinkGetState

This commit is contained in:
slush0 2014-01-12 16:17:22 +01:00
parent c6db133907
commit ca6ab18ae5
1 changed files with 1 additions and 1 deletions

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