Further re-factor USB string handling code
This commit refactors USB string code, making it, hopefully, less buggy and more easier to understand. It also removes "magic" bit manipulation and "magic" numbers;
This commit is contained in:
@@ -220,4 +220,7 @@ struct usb_iface_assoc_descriptor {
|
||||
#define USB_DT_INTERFACE_ASSOCIATION_SIZE \
|
||||
sizeof(struct usb_iface_assoc_descriptor)
|
||||
|
||||
enum usb_language_id {
|
||||
USB_LANGID_ENGLISH_US = 0x409,
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user