Skip to content

Commit

Permalink
Merge pull request #22 from 313ctric/master
Browse files Browse the repository at this point in the history
Correct Standard Request Codes
  • Loading branch information
jiegec authored Aug 14, 2023
2 parents 8506ede + 71ee3a6 commit 5ff5ef1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ pub enum StandardRequest {
GetStatus = 0,
ClearFeature = 1,
SetFeature = 3,
SetAddress = 5,
GetDescriptor = 6,
SetDescriptor = 7,
GetConfiguration = 8,
SetConfiguration = 9,
GetInterface = 0xA,
SetInterface = 0x11,
SynthFrame = 0x12,
GetInterface = 10,
SetInterface = 11,
SynchFrame = 12,
}

/// A list of defined USB descriptor types
Expand Down

0 comments on commit 5ff5ef1

Please sign in to comment.