1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 22:05:13 +03:00

Fix Port Detection using VID/PID

This commit is contained in:
Mark Haslinghuis 2021-12-03 00:36:49 +01:00
parent 1497b544c1
commit 3562ed9d3a
No known key found for this signature in database
GPG key ID: 198B0F616296A584
2 changed files with 22 additions and 6 deletions

View file

@ -3,8 +3,8 @@
const TIMEOUT_CHECK = 500 ; // With 250 it seems that it produces a memory leak and slowdown in some versions, reason unknown
const usbDevices = { filters: [
{'vendorId': 1155, 'productId': 57105},
{'vendorId': 10473, 'productId': 393},
{'vendorId': 1155, 'productId': 57105}, // STM Device in DFU Mode || Digital Radio in USB mode
{'vendorId': 10473, 'productId': 393}, // GD32 DFU Bootloader
] };
const PortHandler = new function () {