Skip to content

Commit c102b1f

Browse files
committed
update print for hid report
1 parent c2888cf commit c102b1f

File tree

1 file changed

+1
-1
lines changed
  • USB_Host_BFF_Examples/CircuitPython_HIDReport

1 file changed

+1
-1
lines changed

USB_Host_BFF_Examples/CircuitPython_HIDReport/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
device.set_configuration()
3232

33-
print(device.idVendor, device.idProduct, device.manufacturer, device.product, device.serial_number)
33+
print(f"{device.idVendor:04x}:{device.idProduct:04x}: {device.manufacturer} {device.product}")
3434

3535
# Test to see if the kernel is using the device and detach it.
3636
if device.is_kernel_driver_active(0):

0 commit comments

Comments
 (0)