summaryrefslogtreecommitdiff
path: root/examples/device/hid_multiple_interface/src
diff options
context:
space:
mode:
authorCedric Van den Bergh <[email protected]>2026-06-16 23:28:07 +0100
committerCedric Van den Bergh <[email protected]>2026-06-16 23:28:07 +0100
commit6d3d33d997cd73a565e8355c84b67f0366d752ce (patch)
treec2799f70dcaa4f3c889054f0e2e9db24494e3433 /examples/device/hid_multiple_interface/src
parentd9f736dcf9c6b71aac470d281cd2fc05a3f7e793 (diff)
ncm: add weak callback for initial link state
netd_init resets link_is_up to a compile-time default, which is incorrect when the host reboots without power-cycling the device. Add tud_network_default_link_state_cb() so applications can return the actual physical link state. The weak default preserves existing CFG_TUD_NCM_DEFAULT_LINK_UP behaviour.
Diffstat (limited to 'examples/device/hid_multiple_interface/src')
0 files changed, 0 insertions, 0 deletions