Skip to content

Commit 06861c6

Browse files
coco875mateoconlechuga
authored andcommitted
fix comment
1 parent e13a201 commit 06861c6

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

src/usbdrvce/usbdrvce.h

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -205,34 +205,34 @@ typedef enum usb_find_device_flags {
205205
USB_SKIP_ENABLED = 1 << 1, /**< Don't return enabled devices. */
206206
USB_SKIP_DEVICES = 1 << 2, /**< Don't return non-hubs. */
207207
USB_SKIP_HUBS = 1 << 3, /**< Don't return hubs. */
208-
USB_SKIP_ATTACHED = 1 << 4, /**< Only return devices directly attached to */
209-
/** any of the hubs through which \c from is */
210-
/** connected. This skips recursing over */
211-
/** devices attached to other hubs. */
208+
USB_SKIP_ATTACHED = 1 << 4, /**< Only return devices directly attached to
209+
any of the hubs through which \c from is
210+
connected. This skips recursing over
211+
devices attached to other hubs. */
212212
} usb_find_device_flags_t;
213213

214214
typedef enum usb_endpoint_flags {
215-
USB_MANUAL_TERMINATE = 0 << 0, /**< For transfers that are a multiple of */
216-
/** the endpoint's maximum packet length, */
217-
/** don't automatically terminate outgoing */
218-
/** ones with a zero-length packet and */
219-
/** don't require incoming ones to be */
220-
/** terminated with a zero-length packet. */
221-
/** @note This allows you to send or */
222-
/** receive partial transfers in multiples */
223-
/** of the endpoint's maximum packet */
224-
/** length, but requires that transfers */
225-
/** which are a multiple of the endpoint's */
226-
/** maximum packet length to be manually */
227-
/** terminated with an explicit zero-length */
228-
/** transfer. */
229-
USB_AUTO_TERMINATE = 1 << 0, /**< For transfers that are a multiple of */
230-
/** the endpoint's maximum packet length, */
231-
/** automatically terminate outgoing ones */
232-
/** with a zero-length packet and require */
233-
/** incoming ones to be terminated with a */
234-
/** zero-length packet or fail with */
235-
/** USB_TRANSFER_OVERFLOW. */
215+
USB_MANUAL_TERMINATE = 0 << 0, /**< For transfers that are a multiple of
216+
the endpoint's maximum packet length,
217+
don't automatically terminate outgoing
218+
ones with a zero-length packet and
219+
don't require incoming ones to be
220+
terminated with a zero-length packet.
221+
@note This allows you to send or
222+
receive partial transfers in multiples
223+
of the endpoint's maximum packet
224+
length, but requires that transfers
225+
which are a multiple of the endpoint's
226+
maximum packet length to be manually
227+
terminated with an explicit zero-length
228+
transfer. */
229+
USB_AUTO_TERMINATE = 1 << 0, /**< For transfers that are a multiple of
230+
the endpoint's maximum packet length,
231+
automatically terminate outgoing ones
232+
with a zero-length packet and require
233+
incoming ones to be terminated with a
234+
zero-length packet or fail with
235+
USB_TRANSFER_OVERFLOW. */
236236
} usb_endpoint_flags_t;
237237

238238
typedef enum usb_role {
@@ -429,9 +429,9 @@ typedef struct usb_endpoint_descriptor {
429429
uint8_t bLength; /**< 7 */
430430
uint8_t bDescriptorType; /**< USB_ENDPOINT_DESCRIPTOR */
431431
uint8_t bEndpointAddress; /**< endpoint direction and number */
432-
uint8_t bmAttributes; /**< usb_usage_type_t | */
433-
/** usb_synchronization_type_t | */
434-
/** usb_transfer_type_t */
432+
uint8_t bmAttributes; /**< usb_usage_type_t |
433+
usb_synchronization_type_t |
434+
usb_transfer_type_t */
435435
uint16_t wMaxPacketSize; /** transfer type specific */
436436
uint8_t bInterval; /** transfer type specific */
437437
} usb_endpoint_descriptor_t;

0 commit comments

Comments
 (0)