fix warning
This commit is contained in:
@@ -542,7 +542,7 @@ struct usb_msosv2_subset_function_descriptor {
|
|||||||
} __PACKED;
|
} __PACKED;
|
||||||
|
|
||||||
struct usb_msosv2_descriptor {
|
struct usb_msosv2_descriptor {
|
||||||
uint8_t *compat_id;
|
const uint8_t *compat_id;
|
||||||
uint16_t compat_id_len;
|
uint16_t compat_id_len;
|
||||||
uint8_t vendor_code;
|
uint8_t vendor_code;
|
||||||
};
|
};
|
||||||
@@ -616,12 +616,12 @@ struct usb_webusb_url_descriptor {
|
|||||||
|
|
||||||
struct usb_webusb_url_ex_descriptor {
|
struct usb_webusb_url_ex_descriptor {
|
||||||
uint8_t vendor_code;
|
uint8_t vendor_code;
|
||||||
uint8_t *string;
|
const uint8_t *string;
|
||||||
uint32_t string_len;
|
uint32_t string_len;
|
||||||
} __PACKED;
|
} __PACKED;
|
||||||
|
|
||||||
struct usb_bos_descriptor {
|
struct usb_bos_descriptor {
|
||||||
uint8_t *string;
|
const uint8_t *string;
|
||||||
uint32_t string_len;
|
uint32_t string_len;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user