1
0
Fork 0
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:
cTn 2014-06-08 20:10:07 +02:00
parent a0582fd79f
commit b5a1015610
4 changed files with 31 additions and 5 deletions

View file

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