diff options
| author | hathach <[email protected]> | 2024-04-08 22:07:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-08 22:07:56 +0700 |
| commit | c3c06484560d0102366a3a1b1101c35301009f97 (patch) | |
| tree | 408f8d600c6b58fd1da77c0408182851c0f48ced /src/class/net/net_device.h | |
| parent | 47c12a07f2edf927eaa685ee8c32b222271d770f (diff) | |
add class driver deinit
Diffstat (limited to 'src/class/net/net_device.h')
| -rw-r--r-- | src/class/net/net_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/net/net_device.h b/src/class/net/net_device.h index 399916355..da1a7b1e8 100644 --- a/src/class/net/net_device.h +++ b/src/class/net/net_device.h @@ -105,6 +105,7 @@ void tud_network_link_state_cb(bool state); // INTERNAL USBD-CLASS DRIVER API //--------------------------------------------------------------------+ void netd_init (void); +bool netd_deinit (void); void netd_reset (uint8_t rhport); uint16_t netd_open (uint8_t rhport, tusb_desc_interface_t const * itf_desc, uint16_t max_len); bool netd_control_xfer_cb (uint8_t rhport, uint8_t stage, tusb_control_request_t const * request); |
