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

apps.fido_u2f: workaround for sync send problems

This commit is contained in:
Jan Pochyla 2017-05-31 19:27:47 +02:00
parent a865c94339
commit 7783763e92

View File

@ -301,6 +301,7 @@ def send_cmd(cmd: Cmd, iface: int):
while offset < datalen:
frm.seq = seq
offset += utils.memcpy(frm.data, 0, cmd.data, offset, datalen)
utime.sleep_ms(1) # FIXME: do async send
msg.send(iface, buf)
# log.debug(__name__, 'send cont %s', buf)
seq += 1