Skip to content

Commit

Permalink
include: usb_ch9: add note about USB_CONTROL_EP_MPS
Browse files Browse the repository at this point in the history
This value may not be correct for devices operating at speeds other than
high speed.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no committed Sep 30, 2024
1 parent 047fc89 commit 3584e40
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/zephyr/usb/usb_ch9.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,12 @@ struct usb_association_descriptor {
/** Macro to obtain descriptor index from USB_SREQ_GET_DESCRIPTOR request */
#define USB_GET_DESCRIPTOR_INDEX(wValue) ((uint8_t)(wValue))

/** USB Control Endpoints maximum packet size (MPS) */
/**
* USB Control Endpoints maximum packet size (MPS)
*
* This value may not be correct for devices operating at speeds other than
* high speed.
*/
#define USB_CONTROL_EP_MPS 64U

/** USB endpoint direction mask */
Expand Down

0 comments on commit 3584e40

Please sign in to comment.