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

trezor.msg: send with 1 sec timeout until we make it async

This commit is contained in:
Jan Pochyla 2017-06-21 18:34:51 +02:00
parent 886c3a0a11
commit 695833c6c0

View File

@ -23,5 +23,5 @@ ssize_t msg_recv(uint8_t *iface, uint8_t *buf, size_t len)
ssize_t msg_send(uint8_t iface, const uint8_t *buf, size_t len)
{
return usb_hid_write_blocking(iface, buf, len, 1); // 1ms timeout
return usb_hid_write_blocking(iface, buf, len, 1000); // 1s timeout
}