1
Fork 0
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:
Jesse Buhagiar 2022-05-28 17:43:47 +10:00 committed by Andreas Kling
parent 9002e837d3
commit ed657e3d2b

View file

@ -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