We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe3c001 commit 703e2c5Copy full SHA for 703e2c5
include/zephyr/usb/usbd.h
@@ -767,10 +767,12 @@ static inline void *usbd_class_get_private(const struct usbd_class_data *const c
767
usbd_class_fs, usbd_class_node, class_name##_fs) = { \
768
.c_data = &class_name, \
769
}; \
770
+ IF_ENABLED(USBD_SUPPORTS_HIGH_SPEED, ( \
771
static STRUCT_SECTION_ITERABLE_ALTERNATE( \
772
usbd_class_hs, usbd_class_node, class_name##_hs) = { \
773
- }
774
+ } \
775
+ ))
776
777
/** @brief Helper to declare request table of usbd_cctx_vendor_req
778
*
0 commit comments