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

HID_READ is 8 now

This commit is contained in:
Jan Pochyla 2016-05-18 19:27:13 +02:00 committed by Pavol Rusnak
parent 87145c2b5f
commit 46acb9ff2b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -75,7 +75,7 @@ STATIC mp_obj_t mod_TrezorMsg_Msg_select(mp_obj_t self, mp_obj_t timeout_us) {
vstr_init_len(&vstr, 64);
memcpy(vstr.buf, m, 64);
mp_obj_tuple_t *tuple = MP_OBJ_TO_PTR(mp_obj_new_tuple(2, NULL));
tuple->items[0] = MP_OBJ_NEW_SMALL_INT(4);
tuple->items[0] = MP_OBJ_NEW_SMALL_INT(8);
tuple->items[1] = mp_obj_new_str_from_vstr(&mp_type_bytes, &vstr);
return MP_OBJ_FROM_PTR(tuple);
}