未验证 提交 d8076f4e 编写于 作者: O openharmony_ci 提交者: Gitee

!2755 翻译已完成2465#I4ZUON

Merge pull request !2755 from shawn_he/b2465
...@@ -170,9 +170,9 @@ You can set a USB device as a host to connect to a device for data transfer. The ...@@ -170,9 +170,9 @@ You can set a USB device as a host to connect to a device for data transfer. The
var pipe = usb.connectDevice(deviceList[0]); var pipe = usb.connectDevice(deviceList[0]);
/* /*
Claim the corresponding interface from deviceList. Claim the corresponding interface from deviceList.
interface must be one present in the device configuration. interface1 must be one present in the device configuration.
*/ */
usb.claimInterface(pipe , interface, true); usb.claimInterface(pipe , interface1, true);
``` ```
4. Perform data transfer. 4. Perform data transfer.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册