Skip to content

Commit

Permalink
Fixed usb enum typo from #56
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoussin committed Aug 11, 2020
1 parent 7de03ba commit dc6a224
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usb/qusbendpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ class Q_USB_EXPORT QUsbEndpoint : public QIODevice
Q_ENUM(Status)

enum bmRequestType : quint8 {
requestStandard = (0x00 < 5),
requestClass = (0x01 < 5),
requestVendor = (0x02 < 5),
requestReserved = (0x03 < 5),
requestStandard = (0x00 << 5),
requestClass = (0x01 << 5),
requestVendor = (0x02 << 5),
requestReserved = (0x03 << 5),
recipientDevice = 0x00,
recipientInterface = 0x01,
recipientEndpoint = 0x02,
Expand Down

0 comments on commit dc6a224

Please sign in to comment.