mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 19:40:22 +03:00
adding request usb permissions UI (DEV only)
This commit is contained in:
parent
cda43ac9bf
commit
a0582fd79f
8 changed files with 98 additions and 6 deletions
|
@ -53,12 +53,6 @@ var STM32DFU_protocol = function() {
|
|||
dfuUPLOAD_IDLE: 9, // The device is processing an upload operation. Expecting DFU_UPLOAD requests.
|
||||
dfuERROR: 10 // An error has occurred. Awaiting the DFU_CLRSTATUS request.
|
||||
};
|
||||
|
||||
this.usbDevices = {
|
||||
F3DiscoveryDFU: {'vendorId': 1155, 'productId': 57105}
|
||||
};
|
||||
|
||||
this.usbPermissions = {permissions: [{'usbDevices': [this.usbDevices.F3DiscoveryDFU]}]};
|
||||
};
|
||||
|
||||
STM32DFU_protocol.prototype.openDevice = function(callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue