mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Add an ability to handle multiple DFU device types
This commit is contained in:
parent
1fbf411b5a
commit
2f2da42f53
3 changed files with 8 additions and 6 deletions
|
@ -497,7 +497,7 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
} else {
|
||||
analytics.sendEvent(analytics.EVENT_CATEGORIES.FIRMWARE, 'Flashing');
|
||||
|
||||
STM32DFU.connect(usbDevices.STM32DFU, parsed_hex, options);
|
||||
STM32DFU.connect(usbDevices, parsed_hex, options);
|
||||
}
|
||||
} else {
|
||||
$('span.progressLabel').text(i18n.getMessage('firmwareFlasherFirmwareNotLoaded'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue