mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 12:55:13 +03:00
DFU detection and port UI DFU option injection
This commit is contained in:
parent
a0582fd79f
commit
b5a1015610
4 changed files with 31 additions and 5 deletions
|
@ -10,7 +10,7 @@ $(document).ready(function() {
|
|||
var selected_port = String($('div#port-picker .port select').val());
|
||||
var selected_baud = parseInt($('div#port-picker #baud').val());
|
||||
|
||||
if (selected_port != '0') {
|
||||
if (selected_port != '0' && selected_port != 'DFU') {
|
||||
if (!clicks) {
|
||||
console.log('Connecting to: ' + selected_port);
|
||||
GUI.connecting_to = selected_port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue