1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Additional time needed for large text dumps

This commit is contained in:
KiteAnton 2016-03-12 11:37:28 +01:00
parent 42d4846765
commit eaf9297e8b

View file

@ -99,7 +99,10 @@ TABS.cli.sendSlowly = function (out_arr, i, timeout_needle) {
bufView[out_arr[i].length] = 0x0D; // enter (\n)
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) {