fix: rename class to class_code, for c++ compatibility (#269)

Co-authored-by: Michiel van Leeuwen <michiel@embeddedacoustics.com>
This commit is contained in:
electretmike
2024-10-30 08:06:19 +01:00
committed by sakumisu
parent f437b3e51c
commit 149fb046bc
21 changed files with 75 additions and 75 deletions

View File

@@ -89,9 +89,9 @@ static const struct usbh_class_driver xxx_class_driver = {
CLASS_INFO_DEFINE const struct usbh_class_info xxx_class_info = {
.match_flags = USB_CLASS_MATCH_INTF_CLASS | USB_CLASS_MATCH_INTF_SUBCLASS | USB_CLASS_MATCH_INTF_PROTOCOL,
.class = 0,
.subclass = 0,
.protocol = 0,
.bInterfaceClass = 0,
.bInterfaceSubClass = 0,
.bInterfaceProtocol = 0,
.id_table = NULL,
.class_driver = &xxx_class_driver
};