remove not needed debug

pull/1537/head
Pawel Spychalski (DzikuVx) 4 months ago
parent 23f16b4ede
commit 6bc214dad2

@ -346,10 +346,9 @@ var defaultsDialog = (function () {
privateScope.onInitSettingReturned = function (promise) {
//FIXME for now we trigger wizard always
// if (promise.value > 0) {
// return; //Defaults were applied, we can just ignore
// }
if (promise.value > 0) {
return; //Defaults were applied, we can just ignore
}
privateScope.render();
$container.show();

@ -332,14 +332,10 @@ const serialPortHelper = (function () {
publicScope.set = function(port, functionName, baudrate) {
console.log('Start', FC.SERIAL_CONFIG);
publicScope.clearByFunction(functionName);
let config = publicScope.getPortByIdentifier(port);
console.log('Config to change', config);
if (config) {
config.functions = [functionName];

Loading…
Cancel
Save