aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/usb/usb_ch9.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/usb/usb_ch9.h')
-rw-r--r--src/drivers/usb/usb_ch9.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/drivers/usb/usb_ch9.h b/src/drivers/usb/usb_ch9.h
index 271b7d1cac..d7f39dde24 100644
--- a/src/drivers/usb/usb_ch9.h
+++ b/src/drivers/usb/usb_ch9.h
@@ -108,20 +108,20 @@
#define USB_PID_DATA_TOGGLE 0x88
struct usb_ctrlrequest {
- u8 bRequestType;
- u8 bRequest;
- u16 wValue;
- u16 wIndex;
- u16 wLength;
+ u8 bRequestType;
+ u8 bRequest;
+ u16 wValue;
+ u16 wIndex;
+ u16 wLength;
} __packed;
struct usb_debug_descriptor {
- u8 bLength;
- u8 bDescriptorType;
+ u8 bLength;
+ u8 bDescriptorType;
- /* bulk endpoints with 8 byte maxpacket */
- u8 bDebugInEndpoint;
- u8 bDebugOutEndpoint;
+ /* bulk endpoints with 8 byte maxpacket */
+ u8 bDebugInEndpoint;
+ u8 bDebugOutEndpoint;
};
#endif