diff options
| author | LeZerb <[email protected]> | 2025-12-11 09:05:06 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-11 09:05:06 +0100 |
| commit | 308bb956bf9d98e0f01db76b9433673d5563ec58 (patch) | |
| tree | 5977427bc58be94b48526d5461e07cf4dc74dfbe | |
| parent | b05ec753f8aa8607b6e72ec7e3933935094e6906 (diff) | |
Use role TUSB_ROLE_HOST in host stack initialization
| -rw-r--r-- | docs/integration.rst | 2 |
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); |
