diff options
| author | Ha Thach <[email protected]> | 2025-07-03 16:43:30 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-03 16:43:30 +0700 |
| commit | 9d872d529ffa0aa53e735b24543c26156798fc64 (patch) | |
| tree | 0837611a463cd37ec07ad7b2f1f7bf2c527e9ce2 /src/device/usbd.h | |
| parent | 963971c6aa14411f0cc6f0c4f727d199c738e2a5 (diff) | |
| parent | 89da5a724dbd692527ee1d25d5ae71226d1dae56 (diff) | |
Merge pull request #2593 from HiFiPhile/dcd_notif
cdc: add uart status notification support.
Diffstat (limited to 'src/device/usbd.h')
| -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 de6007fb3..e5a848809 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -244,7 +244,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ /* CDC Union */\ 5, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_UNION, _itfnum, (uint8_t)((_itfnum) + 1),\ /* Endpoint Notification */\ - 7, TUSB_DESC_ENDPOINT, _ep_notif, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_notif_size), 16,\ + 7, TUSB_DESC_ENDPOINT, _ep_notif, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_notif_size), 1,\ /* CDC Data Interface */\ 9, TUSB_DESC_INTERFACE, (uint8_t)((_itfnum)+1), 0, 2, TUSB_CLASS_CDC_DATA, 0, 0, 0,\ /* Endpoint Out */\ |
