mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Kernel/USB: Don't prepend "0x" to the logged VID/PID in the mouse driver
This just looks silly and USB VID/PIDs are typically formatted without the prefix.
This commit is contained in:
parent
64f827dbc8
commit
ed73aa3364
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ ErrorOr<void> MouseDriver::checkout_interface(USB::Device& device, USBInterface
|
|||
if (descriptor.interface_class_code == USB_CLASS_HID
|
||||
&& descriptor.interface_sub_class_code == to_underlying(HID::SubclassCode::BootProtocol)
|
||||
&& descriptor.interface_protocol == to_underlying(HID::InterfaceProtocol::Mouse)) {
|
||||
dmesgln("USB HID Mouse Interface for device {:#04x}:{:#04x} found", device.device_descriptor().vendor_id, device.device_descriptor().product_id);
|
||||
dmesgln("USB HID Mouse Interface for device {:04x}:{:04x} found", device.device_descriptor().vendor_id, device.device_descriptor().product_id);
|
||||
return initialize_device(device, interface);
|
||||
}
|
||||
return ENOTSUP;
|
||||
|
|
Loading…
Reference in a new issue