Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions subsys/usb/host/usbh_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ int usbh_desc_fill_filter(const struct usb_desc_header *desc,
* @return true if the descriptor size and type are correct
* @return false if the descriptor size or type is wrong
*/
const bool usbh_desc_is_valid(const void *const desc,
const size_t size, const uint8_t type);
bool usbh_desc_is_valid(const void *const desc, const size_t size, const uint8_t type);

/**
* @brief Checks that the pointed descriptor is an interface descriptor.
Expand Down
Loading