mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
trezor.msg: send with 1 sec timeout until we make it async
This commit is contained in:
parent
886c3a0a11
commit
695833c6c0
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user