mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel/USB: Make USBConfiguration interfaces accessible
These weren't accessible by an accessor, so let's fix that :^)
This commit is contained in:
parent
f98dad94fb
commit
361737650f
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ public:
|
|||
u8 attributes() const { return m_descriptor.attributes_bitmap; }
|
||||
u16 max_power_ma() const { return m_descriptor.max_power_in_ma * 2u; } // Note: "Power" is used incorrectly here, however it's what it's called in the descriptor/documentation
|
||||
|
||||
Vector<USBInterface> const& interfaces() const { return m_interfaces; }
|
||||
|
||||
ErrorOr<void> get_interfaces();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue