mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 17:25:16 +03:00
Workaround for bug in CLI with 29 lenght + space
This commit is contained in:
parent
894961cef5
commit
0ae63f07f9
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ TABS.cli.initialize = function (callback, nwGui) {
|
||||||
return new Promise(function (resolve) {
|
return new Promise(function (resolve) {
|
||||||
GUI.timeout_add('CLI_send_slowly', function () {
|
GUI.timeout_add('CLI_send_slowly', function () {
|
||||||
var processingDelay = self.lineDelayMs;
|
var processingDelay = self.lineDelayMs;
|
||||||
|
line = line.trim();
|
||||||
if (line.toLowerCase().startsWith('profile')) {
|
if (line.toLowerCase().startsWith('profile')) {
|
||||||
processingDelay = self.profileSwitchDelayMs;
|
processingDelay = self.profileSwitchDelayMs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue