提交 9ff9d8f5 编写于 作者: W wangyipeng

Fix: Use undefined functions

Signed-off-by: Nwangyipeng <wangyipeng11@huawei.com>
上级 ebbbec2f
......@@ -136,8 +136,6 @@ USB设备可作为Host设备连接Device设备进行数据传输。开发示例
usb.bulkTransfer(pipe, inEndpoint, dataUint8Array, 15000).then(dataLength => {
if (dataLength >= 0) {
console.info("usb readData result Length : " + dataLength);
let resultStr = this.ab2str(dataUint8Array); // uint8数据转string。
console.info("usb readData buffer : " + resultStr);
} else {
console.info("usb readData failed : " + dataLength);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册