summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-04-30 15:03:09 +0200
committerZixun LI <[email protected]>2026-04-30 15:03:09 +0200
commit2931121b072cd49d4a144359da422980d9bf017a (patch)
tree8cd870ed129723f1ec89e74399cc3e7b54f0f274 /examples
parent7cfa0d1b970b6e276e0eca3eee2de43aa3b7c443 (diff)
refactor capability
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'examples')
-rw-r--r--examples/device/net_lwip_webserver/src/usb_descriptors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/net_lwip_webserver/src/usb_descriptors.c b/examples/device/net_lwip_webserver/src/usb_descriptors.c
index c976cb62b..b194b9c5a 100644
--- a/examples/device/net_lwip_webserver/src/usb_descriptors.c
+++ b/examples/device/net_lwip_webserver/src/usb_descriptors.c
@@ -162,9 +162,9 @@ static uint8_t const ncm_configuration[] = {
TUD_CONFIG_DESCRIPTOR(CONFIG_ID_NCM + 1, ITF_NUM_TOTAL, 0, NCM_CONFIG_TOTAL_LEN, 0, 100),
// 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),
+ 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),
};
#endif