mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Kernel/USB: Make USBInterface endpoints accessible
These weren't accessible by an accessor, so let's fix that :^)
This commit is contained in:
parent
361737650f
commit
cd8939f4a0
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ public:
|
|||
m_endpoint_descriptors.ensure_capacity(descriptor.number_of_endpoints);
|
||||
}
|
||||
|
||||
Vector<USBEndpointDescriptor> const& endpoints() const { return m_endpoint_descriptors; }
|
||||
|
||||
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