summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-13 14:56:15 +0700
committerhathach <[email protected]>2025-12-13 14:56:15 +0700
commit80886fb32a9610d863246726950ffefeb2ffb21b (patch)
tree8914ea1e2702d6ebf8e8346ca4641a402e91b321 /docs
parent7a4af1e9b833d334cca8fa98bc200d4738cb6b82 (diff)
parent3a4d02ba9f150b74df08384d16fac124a7c27485 (diff)
Merge branch 'refs/heads/master' into hcd_fsdev
Diffstat (limited to 'docs')
-rw-r--r--docs/integration.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/integration.rst b/docs/integration.rst
index f7c5be2ca..32f90f793 100644
--- a/docs/integration.rst
+++ b/docs/integration.rst
@@ -40,7 +40,7 @@ Minimal Example
// init host stack on roothub port 1 for fullspeed host
tusb_rhport_init_t host_init = {
- .role = TUSB_ROLE_DEVICE,
+ .role = TUSB_ROLE_HOST,
.speed = TUSB_SPEED_FULL
};
tusb_init(1, &host_init);