Update: web usb移除filters

This commit is contained in:
王立帮
2024-12-24 09:42:55 +08:00
parent 9d44a00968
commit 59a7da452d

View File

@@ -40,9 +40,7 @@ class USB extends Serial {
this.requestPort = async function () {
const device = await navigator.usb.requestDevice({
filters: [{
vendorId: 0xD28
}]
filters: []
});
this.addPort(device);
this.refreshPorts();