diff options
| author | Zixun LI <[email protected]> | 2026-04-30 15:56:23 +0200 |
|---|---|---|
| committer | HiFiPHile <[email protected]> | 2026-05-01 13:54:22 +0200 |
| commit | 8db6084acac03acc1b98721f78d22587968ed5b2 (patch) | |
| tree | 5acc28431bf95f7d0d64c9f7b7ee216936d01c48 /examples | |
| parent | ddb81076a4f7c38b0958a97d76aa072180902b6f (diff) | |
ncm: implement GetNtbInputSize request
Signed-off-by: HiFiPHile <[email protected]>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/net_lwip_webserver/src/usb_descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/net_lwip_webserver/src/usb_descriptors.c b/examples/device/net_lwip_webserver/src/usb_descriptors.c index b194b9c5a..0c6c11611 100644 --- a/examples/device/net_lwip_webserver/src/usb_descriptors.c +++ b/examples/device/net_lwip_webserver/src/usb_descriptors.c @@ -164,7 +164,7 @@ static uint8_t const ncm_configuration[] = { // Interface number, description string index, MAC address string index, EP notification address and size, EP data address (out, in), and size, max segment size. TUD_CDC_NCM_DESCRIPTOR(ITF_NUM_CDC, STRID_INTERFACE, STRID_MAC, EPNUM_NET_NOTIF, 64, EPNUM_NET_OUT, EPNUM_NET_IN, CFG_TUD_NET_ENDPOINT_SIZE, - CFG_TUD_NET_MTU, NCM_NETWORK_CAPS_ETH_FILTER), + CFG_TUD_NET_MTU, (uint8_t)((uint8_t)NCM_NETWORK_CAPS_ETH_FILTER | (uint8_t)NCM_NETWORK_CAPS_NTB_INPUT_SIZE)), }; #endif |
