bugfixes & polishing

10.3.x-maintenance
cTn 2013-11-14 19:16:33 +01:00
parent 2a1e3ca3b5
commit 26803515f5
1 changed files with 5 additions and 3 deletions

View File

@ -82,6 +82,10 @@ STM32_protocol.prototype.connect = function() {
self.initialize();
}
});
} else {
console.log('There was an error that happened during "connection-close" procedure');
GUI.connect_lock = false;
}
});
}, 100);
@ -479,10 +483,8 @@ STM32_protocol.prototype.upload_procedure = function(step) {
connectionId = -1; // reset connection id
} else { // Something went wrong
if (connectionId > 0) {
console.log('There was an error that happened during "connection-close" procedure');
}
}
// unlocking connect button
GUI.connect_lock = false;