Skip to content

Commit 35c9e54

Browse files
jfischer-nofabiobaltieri
authored andcommitted
include: usb_ch9: add note about USB_CONTROL_EP_MPS
This value may not be correct for devices operating at speeds other than high speed. Signed-off-by: Johann Fischer <[email protected]>
1 parent f5a3f90 commit 35c9e54

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/zephyr/usb/usb_ch9.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,12 @@ struct usb_association_descriptor {
283283
/** Macro to obtain descriptor index from USB_SREQ_GET_DESCRIPTOR request */
284284
#define USB_GET_DESCRIPTOR_INDEX(wValue) ((uint8_t)(wValue))
285285

286-
/** USB Control Endpoints maximum packet size (MPS) */
286+
/**
287+
* USB Control Endpoints maximum packet size (MPS)
288+
*
289+
* This value may not be correct for devices operating at speeds other than
290+
* high speed.
291+
*/
287292
#define USB_CONTROL_EP_MPS 64U
288293

289294
/** USB endpoint direction mask */

0 commit comments

Comments
 (0)