mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Merge pull request #2266 from Asizon/hide_hardwareid
This commit is contained in:
commit
317f937fd5
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ PortHandler.check_usb_devices = function (callback) {
|
|||
callback(self.dfu_available);
|
||||
}
|
||||
if (!$('option:selected', self.portPickerElement).data().isDFU) {
|
||||
if (!GUI.connected_to) {
|
||||
FC.resetState();
|
||||
}
|
||||
self.portPickerElement.trigger('change');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue