mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 14:42:58 +00:00
clean up
This commit is contained in:
parent
867e69ed9d
commit
a8d98d09ca
@ -117,7 +117,7 @@ enum
|
||||
|
||||
uint8_t const desc_configuration[] =
|
||||
{
|
||||
// Inteface count, string index, total length, attribute, power in mA
|
||||
// Interface count, string index, total length, attribute, power in mA
|
||||
TUD_CONFIG_DESCRIPTOR(ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
|
||||
|
||||
#if CFG_TUD_CDC
|
||||
|
@ -3,7 +3,9 @@ import hid
|
||||
|
||||
USB_VID = 0xcafe
|
||||
|
||||
for dict in hid.enumerate(0xcafe):
|
||||
print("Openning HID device with VID = 0x%X" % USB_VID)
|
||||
|
||||
for dict in hid.enumerate(USB_VID):
|
||||
print(dict)
|
||||
dev = hid.Device(dict['vendor_id'], dict['product_id'])
|
||||
if dev:
|
||||
|
Loading…
x
Reference in New Issue
Block a user