diff options
| author | nminaylov <[email protected]> | 2026-04-24 22:39:02 +0300 |
|---|---|---|
| committer | nminaylov <[email protected]> | 2026-04-24 22:39:02 +0300 |
| commit | 0649b18b2e8b2e76b38f6280796ba48a51882eac (patch) | |
| tree | e9f36a156f5b1bb9e0c6d2f608ad9c453978e0c0 /src/device | |
| parent | 723e0167a3d164918c1453d3941cb2b9a6a2d463 (diff) | |
NCM packet filter support
Diffstat (limited to 'src/device')
| -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 d3a6dccbb..45beb7c4c 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -1040,7 +1040,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ /* CDC-NCM Functional Descriptor */\ 13, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_ETHERNET_NETWORKING, _mac_stridx, 0, 0, 0, 0, U16_TO_U8S_LE(_maxsegmentsize), U16_TO_U8S_LE(0), 0, \ /* CDC-NCM Functional Descriptor */\ - 6, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_NCM, U16_TO_U8S_LE(0x0100), 0, \ + 6, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_NCM, U16_TO_U8S_LE(0x0100), 0x01, \ /* Endpoint Notification */\ 7, TUSB_DESC_ENDPOINT, _ep_notif, TUSB_XFER_INTERRUPT, U16_TO_U8S_LE(_ep_notif_size), 50,\ /* CDC Data Interface (default inactive) */\ |
