Skip to content

Commit b504d61

Browse files
Merge branch 'fix/usb_host_docs_host_num_chan_reference' into 'master'
fix(usb_host): Fixing rererence to OTG_NUM_HOST_CHAN in USB Host docs See merge request espressif/esp-idf!37163
2 parents 543b81b + 05ea550 commit b504d61

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/en/api-reference/peripherals/usb_host.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB Host
33

44
:link_to_translation:`zh_CN:[中文]`
55

6+
{IDF_TARGET_OTG_NUM_HOST_CHAN: default="8", esp32p4="16"}
7+
68
The document provides information regarding the USB Host Library. This document is split into the following sections:
79

810
.. contents:: Sections
@@ -470,7 +472,7 @@ When external Hubs support feature is enabled (:ref:`CONFIG_USB_HOST_HUBS_SUPPOR
470472

471473
To handle each attached device, different amount of channels are required. This amount does depend on the device class (EPs number).
472474

473-
Supported amount of channels for {IDF_TARGET_NAME} is {OTG_NUM_HOST_CHAN}.
475+
Supported amount of channels for {IDF_TARGET_NAME} is {IDF_TARGET_OTG_NUM_HOST_CHAN}.
474476

475477
.. note::
476478

docs/zh_CN/api-reference/peripherals/usb_host.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ USB 主机
33

44
:link_to_translation:`en:[English]`
55

6+
{IDF_TARGET_OTG_NUM_HOST_CHAN: default="8", esp32p4="16"}
7+
68
本文档提供了 USB 主机库的相关信息,按以下章节展开:
79

810
.. contents:: 章节
@@ -470,7 +472,7 @@ USB 设备可能是热插拔的,因此必须配置电源开关和设备连接
470472

471473
每个连接的设备需要不同数量的通道,而所需通道数则取决于设备类别(EP 数量)。
472474

473-
对于 {IDF_TARGET_NAME},支持的通道数量为 {OTG_NUM_HOST_CHAN}。
475+
对于 {IDF_TARGET_NAME},支持的通道数量为 {IDF_TARGET_OTG_NUM_HOST_CHAN}。
474476

475477
.. note::
476478

0 commit comments

Comments
 (0)