usb: fix wrong command id for AppendConfigurationData

This commit is contained in:
Michael Scire 2021-02-07 17:14:48 -08:00
parent 13b17a5848
commit 2b825d56dc
2 changed files with 11 additions and 2 deletions

View file

@ -165,6 +165,15 @@ namespace ams::usb {
UsbEndpointAddressMask_DirDevicetoHost = (0x1 << 7),
};
enum UsbEndpointAttributeMask {
UsbEndpointAttributeMask_XferType = (0x3 << 0),
UsbEndpointAttributeMask_XferTypeControl = (0x0 << 0),
UsbEndpointAttributeMask_XferTypeIsoc = (0x1 << 0),
UsbEndpointAttributeMask_XferTypeBulk = (0x2 << 0),
UsbEndpointAttributeMask_XferTypeInt = (0x3 << 0),
};
enum UsbEndpointDirection {
UsbEndpointDirection_Invalid = 0,
UsbEndpointDirection_ToDevice = 1,