mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:48:13 +00:00
Kernel/USB: Add interface descriptor accessor
This commit is contained in:
parent
9002e837d3
commit
ed657e3d2b
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ public:
|
|||
|
||||
Vector<USBEndpointDescriptor> const& endpoints() const { return m_endpoint_descriptors; }
|
||||
|
||||
USBInterfaceDescriptor const& descriptor() const { return m_descriptor; }
|
||||
|
||||
private:
|
||||
USBConfiguration const& m_configuration; // Configuration that this interface belongs to
|
||||
USBInterfaceDescriptor const m_descriptor; // Descriptor backing this interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue