separte tusb_init/inited() to tud/tuh init/inited

add rhport to tud_init()
This commit is contained in:
hathach
2021-05-11 17:32:52 +07:00
parent 2666e1efec
commit 3a7f8b3ac3
5 changed files with 31 additions and 28 deletions

View File

@@ -76,7 +76,7 @@ typedef bool (*tuh_control_complete_cb_t)(uint8_t dev_addr, tusb_control_request
//--------------------------------------------------------------------+
// Init host stack
bool tuh_init(void);
bool tuh_init(uint8_t rhport);
// Check if host stack is already initialized
bool tuh_inited(void);