summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);