1
0
Fork 0
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:
cTn 2014-06-08 19:32:24 +02:00
parent cda43ac9bf
commit a0582fd79f
8 changed files with 98 additions and 6 deletions

View file

@ -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) {