1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

apps.fido_u2f: mute verbose logging

This commit is contained in:
Jan Pochyla 2017-05-31 18:40:32 +02:00
parent 1c2aae8cb9
commit d8bb5acb19

View File

@ -226,7 +226,7 @@ def read_cmd(iface: int) -> Cmd:
desc_cont = frame_cont()
buf, = yield loop.select(iface)
log.debug(__name__, 'read init %s', buf)
# log.debug(__name__, 'read init %s', buf)
ifrm = overlay_struct(buf, desc_init)
bcnt = ifrm.bcnt
@ -248,7 +248,7 @@ def read_cmd(iface: int) -> Cmd:
while datalen < bcnt:
buf, = yield loop.select(iface)
log.debug(__name__, 'read cont %s', buf)
# log.debug(__name__, 'read cont %s', buf)
cfrm = overlay_struct(buf, desc_cont)
@ -291,7 +291,7 @@ def send_cmd(cmd: Cmd, iface: int):
offset += utils.memcpy(frm.data, 0, cmd.data, offset, datalen)
msg.send(iface, buf)
log.debug(__name__, 'send init %s', buf)
# log.debug(__name__, 'send init %s', buf)
if offset < datalen:
frm = overlay_struct(buf, cont_desc)
@ -300,7 +300,7 @@ def send_cmd(cmd: Cmd, iface: int):
frm.seq = seq
offset += utils.memcpy(frm.data, 0, cmd.data, offset, datalen)
msg.send(iface, buf)
log.debug(__name__, 'send cont %s', buf)
# log.debug(__name__, 'send cont %s', buf)
seq += 1