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/device/usbd_pvt.h | |
| parent | 47c12a07f2edf927eaa685ee8c32b222271d770f (diff) | |
add class driver deinit
Diffstat (limited to 'src/device/usbd_pvt.h')
| -rw-r--r-- | src/device/usbd_pvt.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index 9039bc9d6..5ae96e589 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -40,11 +40,9 @@ //--------------------------------------------------------------------+ typedef struct { - #if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL char const* name; - #endif - void (* init ) (void); + bool (* deinit ) (void); void (* reset ) (uint8_t rhport); uint16_t (* open ) (uint8_t rhport, tusb_desc_interface_t const * desc_intf, uint16_t max_len); bool (* control_xfer_cb ) (uint8_t rhport, uint8_t stage, tusb_control_request_t const * request); |
