summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-11 17:32:52 +0700
committerhathach <[email protected]>2021-05-18 12:58:24 +0700
commit3a7f8b3ac3988eeb653ada6e3efdd7acb68fbe0f (patch)
tree74f7e9e7327e5206fc5ec98d6151a91f6d627f25 /src/device/usbd.h
parent2666e1efec20d78f8f74c23cdbb7977737b8d956 (diff)
separte tusb_init/inited() to tud/tuh init/inited
add rhport to tud_init()
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 10fbe0bf1..c0bec9566 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -41,7 +41,7 @@ extern "C" {
//--------------------------------------------------------------------+
// Init device stack
-bool tud_init (void);
+bool tud_init (uint8_t rhport);
// Check if device stack is already initialized
bool tud_inited(void);