mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:32:45 +00: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
		Add a link
		
	
		Reference in a new issue
	
	 Jesse Buhagiar
						Jesse Buhagiar