Update: web usb移除filters
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user