mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Additional time needed for large text dumps
This commit is contained in:
parent
42d4846765
commit
eaf9297e8b
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue