diff options
| author | Ha Thach <[email protected]> | 2021-08-29 20:48:42 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-29 20:48:42 +0700 |
| commit | 31959295965f6b19c35bb770b1e430bdfa7b4606 (patch) | |
| tree | 928dd795b05f910c26a840cc3063db7d9bac571b /src | |
| parent | d1ccb9b86b72ddb05ad5cdd59b4fd4255d941e40 (diff) | |
| parent | 22028455077eb1bb4e9c98735cb990305067ef36 (diff) | |
Merge pull request #1055 from xcguang/bugfix/bth_stridx_error
fix: bth stridx error
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/usbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index c85616c95..9becf2d0d 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -734,7 +734,7 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb /* Primary Interface */ #define TUD_BTH_PRI_ITF(_itfnum, _stridx, _ep_evt, _ep_evt_size, _ep_evt_interval, _ep_in, _ep_out, _ep_size) \ - 9, TUSB_DESC_INTERFACE, _itfnum, _stridx, 3, TUD_BT_APP_CLASS, TUD_BT_APP_SUBCLASS, TUD_BT_PROTOCOL_PRIMARY_CONTROLLER, 0, \ + 9, TUSB_DESC_INTERFACE, _itfnum, 0, 3, TUD_BT_APP_CLASS, TUD_BT_APP_SUBCLASS, TUD_BT_PROTOCOL_PRIMARY_CONTROLLER, _stridx, \ /* Endpoint In for events */ \ 7, TUSB_DESC_ENDPOINT, _ep_evt, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_evt_size), _ep_evt_interval, \ /* Endpoint In for ACL data */ \ |
