Merge pull request #354 from KiteAnton/additional_cli_time

Additional cli time for large text dumps
10.3.x-maintenance
Albert Kravcov 2016-05-28 13:47:11 +02:00
commit ace46998ce
1 changed files with 4 additions and 1 deletions

View File

@ -99,7 +99,10 @@ TABS.cli.sendSlowly = function (out_arr, i, timeout_needle) {
bufView[out_arr[i].length] = 0x0D; // enter (\n) bufView[out_arr[i].length] = 0x0D; // enter (\n)
serial.send(bufferOut); serial.send(bufferOut);
}, timeout_needle * 5); if (out_arr[i].substring(1, 7) == 'profile') {
timeout_needle *= 2; // switching profiles needs additional time
}
}, timeout_needle * 15);
}; };
TABS.cli.read = function (readInfo) { TABS.cli.read = function (readInfo) {