summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Potter <[email protected]>2020-11-05 18:14:56 -0700
committerJacob Potter <[email protected]>2020-11-05 18:14:56 -0700
commit226efdcec0d880feb4af3995129b85fae9b8ddb8 (patch)
tree0246de5c3102c604cc0f719b51c385b5e8028a88
parent377f8ce76f98ab199d808a263023432649266372 (diff)
Reduce excessive poll rate on interrupt endpoint
-rw-r--r--src/device/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 45caa7871..c547ceeee 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -693,7 +693,7 @@ TU_ATTR_WEAK bool tud_vendor_control_complete_cb(uint8_t rhport, tusb_control_re
/* CDC-ECM Functional Descriptor */\
6, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_NCM, U16_TO_U8S_LE(0x0100), 0, \
/* Endpoint Notification */\
- 7, TUSB_DESC_ENDPOINT, _ep_notif, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_notif_size), 1,\
+ 7, TUSB_DESC_ENDPOINT, _ep_notif, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_notif_size), 50,\
/* CDC Data Interface (default inactive) */\
9, TUSB_DESC_INTERFACE, (uint8_t)((_itfnum)+1), 0, 0, TUSB_CLASS_CDC_DATA, 0, 1, 0,\
/* CDC Data Interface (alternative active) */\