diff options
| author | Cedric Van den Bergh <[email protected]> | 2026-06-16 23:28:07 +0100 |
|---|---|---|
| committer | Cedric Van den Bergh <[email protected]> | 2026-06-16 23:28:07 +0100 |
| commit | 6d3d33d997cd73a565e8355c84b67f0366d752ce (patch) | |
| tree | c2799f70dcaa4f3c889054f0e2e9db24494e3433 /src/class/printer/printer_device.c | |
| parent | d9f736dcf9c6b71aac470d281cd2fc05a3f7e793 (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 'src/class/printer/printer_device.c')
0 files changed, 0 insertions, 0 deletions
