mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
make winusb_string_descriptor const
This commit is contained in:
parent
38b4d507bc
commit
132cc4b474
4
winusb.c
4
winusb.c
@ -49,8 +49,8 @@ static struct winusb_compatible_id_descriptor winusb_wcid = {
|
||||
}
|
||||
};
|
||||
|
||||
static struct usb_string_descriptor winusb_string_descriptor = {
|
||||
.bLength = sizeof(WINUSB_EXTRA_STRING) + sizeof(struct usb_string_descriptor),
|
||||
static const struct usb_string_descriptor winusb_string_descriptor = {
|
||||
.bLength = sizeof(struct usb_string_descriptor) + sizeof(WINUSB_EXTRA_STRING),
|
||||
.bDescriptorType = USB_DT_STRING,
|
||||
.wData = WINUSB_EXTRA_STRING
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user