1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-26 17:55:21 +03:00

increased timeout for CLI commands

This commit is contained in:
Pawel 2016-05-20 11:21:13 +02:00
parent 265f35855f
commit 5cb6a6f3cc

View file

@ -13,7 +13,7 @@ TABS.cli.initialize = function (callback) {
GUI.active_tab = 'cli'; GUI.active_tab = 'cli';
googleAnalytics.sendAppView('CLI'); googleAnalytics.sendAppView('CLI');
} }
$('#content').load("./tabs/cli.html", function () { $('#content').load("./tabs/cli.html", function () {
// translate to user-selected language // translate to user-selected language
localize(); localize();
@ -99,7 +99,7 @@ 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); }, timeout_needle * 25);
}; };
TABS.cli.read = function (readInfo) { TABS.cli.read = function (readInfo) {