1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

trezorhal: more tests in usb

This commit is contained in:
Pavol Rusnak 2018-01-20 22:06:39 +01:00
parent 51db0c4099
commit d927b80b50
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -70,6 +70,8 @@ void usb_init(const usb_dev_info_t *dev_info) {
ensure(check_desc_str(dev_info->manufacturer), NULL);
ensure(check_desc_str(dev_info->product), NULL);
ensure(check_desc_str(dev_info->serial_number), NULL);
ensure(check_desc_str(dev_info->configuration), NULL);
ensure(check_desc_str(dev_info->interface), NULL);
usb_str_table.manufacturer = dev_info->manufacturer;
usb_str_table.product = dev_info->product;