From 308bb956bf9d98e0f01db76b9433673d5563ec58 Mon Sep 17 00:00:00 2001 From: LeZerb Date: Thu, 11 Dec 2025 09:05:06 +0100 Subject: [PATCH] Use role TUSB_ROLE_HOST in host stack initialization --- docs/integration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);