diff options
| author | hathach <[email protected]> | 2019-08-01 13:20:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-08-01 13:20:00 +0700 |
| commit | 30de17a83029abeee44cbfd7aa5a3ac63d0ce65d (patch) | |
| tree | e83ed2f45c942a0047eaf72a3044ecdf57b2fc89 /src/device/usbd.h | |
| parent | bd08d0edc9067d57a6d6c3cc32438095b2de29c8 (diff) | |
clean up
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++
forbid in strict mode)
- remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 3979dcb1e..396964e00 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -143,11 +143,6 @@ TU_ATTR_WEAK bool tud_vendor_control_complete_cb(uint8_t rhport, tusb_control_re 0xDF, 0x60, 0xDD, 0xD8, 0x89, 0x45, 0xC7, 0x4C, \
0x9C, 0xD2, 0x65, 0x9D, 0x9E, 0x64, 0x8A, 0x9F
-//------------- WebUSB URL -------------//
-// used to init tusb_desc_webusb_url_t
-#define TUD_WEBUSB_URL_DESCRIPTOR(_scheme, _url) \
- { 3 + sizeof(_url) - 1, 3, _scheme, _url }
-
//--------------------------------------------------------------------+
// Configuration & Interface Descriptor Templates
//--------------------------------------------------------------------+
|
