diff options
| author | hathach <[email protected]> | 2025-07-03 14:28:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-07-03 14:28:44 +0700 |
| commit | 89da5a724dbd692527ee1d25d5ae71226d1dae56 (patch) | |
| tree | 0837611a463cd37ec07ad7b2f1f7bf2c527e9ce2 /src | |
| parent | 0df3bfb81d33d11432824bbf91ab0eb260f6f14f (diff) | |
reduce bInterval for default CDC descriptor from 16ms to 1ms
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 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 */\ |
