summaryrefslogtreecommitdiff
path: root/src/host/usbh_pvt.h
diff options
context:
space:
mode:
authorIngHK <[email protected]>2024-04-04 14:07:32 +0200
committerIngHK <[email protected]>2024-04-04 14:07:32 +0200
commite2a56308110c1b3948441bec7ea71e397dfc1b49 (patch)
tree904e3c19c3c5e0027f243e8aa3d247b72051e886 /src/host/usbh_pvt.h
parent1bbd658352f5ecbfea13343df20cd02597dc31fd (diff)
parent66cdf6d097d76f8d21ed4314651ac730d4023f99 (diff)
Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade
Diffstat (limited to 'src/host/usbh_pvt.h')
-rw-r--r--src/host/usbh_pvt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/host/usbh_pvt.h b/src/host/usbh_pvt.h
index 4ed2a72b5..95de915e9 100644
--- a/src/host/usbh_pvt.h
+++ b/src/host/usbh_pvt.h
@@ -50,11 +50,9 @@ enum {
//--------------------------------------------------------------------+
typedef struct {
- #if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL
char const* name;
- #endif
-
- void (* const init )(void);
+ bool (* const init )(void);
+ bool (* const deinit )(void);
bool (* const open )(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const * itf_desc, uint16_t max_len);
bool (* const set_config )(uint8_t dev_addr, uint8_t itf_num);
bool (* const xfer_cb )(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes);