1
0
Fork 0
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:
jflyper 2018-11-12 20:27:11 +09:00
parent 1fbf411b5a
commit 2f2da42f53
3 changed files with 8 additions and 6 deletions

View file

@ -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'));