bugfixes & polishing
parent
2a1e3ca3b5
commit
26803515f5
|
@ -82,6 +82,10 @@ STM32_protocol.prototype.connect = function() {
|
||||||
self.initialize();
|
self.initialize();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
console.log('There was an error that happened during "connection-close" procedure');
|
||||||
|
|
||||||
|
GUI.connect_lock = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, 100);
|
}, 100);
|
||||||
|
@ -479,10 +483,8 @@ STM32_protocol.prototype.upload_procedure = function(step) {
|
||||||
|
|
||||||
connectionId = -1; // reset connection id
|
connectionId = -1; // reset connection id
|
||||||
} else { // Something went wrong
|
} else { // Something went wrong
|
||||||
if (connectionId > 0) {
|
|
||||||
console.log('There was an error that happened during "connection-close" procedure');
|
console.log('There was an error that happened during "connection-close" procedure');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// unlocking connect button
|
// unlocking connect button
|
||||||
GUI.connect_lock = false;
|
GUI.connect_lock = false;
|
||||||
|
|
Loading…
Reference in New Issue