Commit 85cd338d authored by carl's avatar carl

feat: 兼容h1e

parent f78e7c8a
...@@ -182,7 +182,7 @@ function Jensen(log, conn) { ...@@ -182,7 +182,7 @@ function Jensen(log, conn) {
if (r) return; if (r) return;
let conn = await navigator.usb.requestDevice({ let conn = await navigator.usb.requestDevice({
filters: [{ vendorId: 0x10d6 }] filters: [{ vendorId: 0x10d6 }, { vendorId: 0x3887 }]
}); });
await conn.open(); await conn.open();
// self.model = conn.productId == 45069 ? 'hidock-h1e' : 'hidock-h1'; // self.model = conn.productId == 45069 ? 'hidock-h1e' : 'hidock-h1';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment