fix(usb_host): Fixing dererence to OTG_NUM_HOST_CHAN in docs

This commit is contained in:
peter.marcisovsky
2025-02-20 11:17:52 +01:00
parent 7b0c6f45aa
commit e638cb8845
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,8 @@ USB Host
:link_to_translation:`zh_CN:[中文]` :link_to_translation:`zh_CN:[中文]`
{IDF_TARGET_OTG_NUM_HOST_CHAN: default="8", esp32p4="16"}
The document provides information regarding the USB Host Library. This document is split into the following sections: The document provides information regarding the USB Host Library. This document is split into the following sections:
.. contents:: Sections .. contents:: Sections
@ -471,7 +473,7 @@ When external Hubs support feature is enabled (:ref:`CONFIG_USB_HOST_HUBS_SUPPOR
To handle each attached device, different amount of channels are required. This amount does depend on the device class (EPs number). To handle each attached device, different amount of channels are required. This amount does depend on the device class (EPs number).
Supported amount of channels for {IDF_TARGET_NAME} is {OTG_NUM_HOST_CHAN}. Supported amount of channels for {IDF_TARGET_NAME} is {IDF_TARGET_OTG_NUM_HOST_CHAN}.
.. note:: .. note::

View File

@ -3,6 +3,8 @@ USB 主机
:link_to_translation:`en:[English]` :link_to_translation:`en:[English]`
{IDF_TARGET_OTG_NUM_HOST_CHAN: default="8", esp32p4="16"}
本文档提供了 USB 主机库的相关信息,按以下章节展开: 本文档提供了 USB 主机库的相关信息,按以下章节展开:
.. contents:: 章节 .. contents:: 章节
@ -471,7 +473,7 @@ USB 设备可能是热插拔的,因此必须配置电源开关和设备连接
每个连接的设备需要不同数量的通道而所需通道数则取决于设备类别EP 数量)。 每个连接的设备需要不同数量的通道而所需通道数则取决于设备类别EP 数量)。
对于 {IDF_TARGET_NAME},支持的通道数量为 {OTG_NUM_HOST_CHAN}。 对于 {IDF_TARGET_NAME},支持的通道数量为 {IDF_TARGET_OTG_NUM_HOST_CHAN}。
.. note:: .. note::