提交 a6d77d37 编写于 作者: L lixiaofeng_154b

修改d.ts文件

Signed-off-by: Nlixiaofeng_154b <lixiaofeng54@huawei.com>
Change-Id: I6cd5fdc1ce23a342e80f11ea1418b9a99080112e
上级 8582b46e
......@@ -41,7 +41,7 @@ describe('UsbCoreJsFunctionsTest', function () {
console.info('usb case gDeviceList.length return: ' + gDeviceList.length);
if (gDeviceList.length > 0) {
if (usbPortList[0].status.currentMode == 1) {
usbManager.setPortRoles(usbPortList[0].id, usb.SOURCE, usb.HOST).then(data => {
usbManager.setPortRoles(usbPortList[0].id, usbManager.SOURCE, usbManager.HOST).then(data => {
portCurrentMode = 2
console.info('usb case setPortRoles return: ' + data);
}).catch(error => {
......
......@@ -41,7 +41,7 @@ describe('UsbDevicePipeJsFunctionsTest', function () {
if (usbPortList.length > 0) {
if (gDeviceList.length > 0) {
if (usbPortList[0].status.currentMode == 1) {
usbManager.setPortRoles(usbPortList[0].id, usb.SOURCE, usb.HOST).then(data => {
usbManager.setPortRoles(usbPortList[0].id, usbManager.SOURCE, usbManager.HOST).then(data => {
portCurrentMode = 2
console.info('usb case setPortRoles return: ' + data);
}).catch(error => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册