diff options
| author | hathach <[email protected]> | 2019-07-12 22:03:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-12 22:03:40 +0700 |
| commit | cb4e6837e9f1aa02644e1ad88ffff43b59470a4e (patch) | |
| tree | 8c41daa9f9425770e9515c1aad5312eee1d3f4e5 /examples/device | |
| parent | 2b7acd554a00f196394fdb91cd11a18e7981949f (diff) | |
clean up, rename internal driver control_request_complete to simply control_complete
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/webusb/src/usb_descriptors.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/webusb/src/usb_descriptors.c b/examples/device/webusb/src/usb_descriptors.c index 3ea6f117f..f1e9dd979 100644 --- a/examples/device/webusb/src/usb_descriptors.c +++ b/examples/device/webusb/src/usb_descriptors.c @@ -77,9 +77,11 @@ uint8_t const * tud_descriptor_device_cb(void) // BOS Descriptor is required for webUSB uint8_t const desc_bos[] = { + // total length, number of device caps TUD_BOS_DESCRIPTOR(BOS_TOTAL_LEN, 1), - TUD_BOS_WEBUSB_DESCRIPTOR(0x01, 0) + // Vendor Code, iLandingPage + TUD_BOS_WEBUSB_DESCRIPTOR(0x01, 1) }; uint8_t const * tud_descriptor_bos_cb(void) |
