mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Update to include battery_profile
and mixer_profile
This commit is contained in:
parent
a3d26de5b7
commit
6dcba817c6
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ TABS.cli.initialize = function (callback) {
|
|||
new Promise((resolve) => {
|
||||
timeout.add('CLI_send_slowly', () => {
|
||||
let processingDelay = TABS.cli.lineDelayMs;
|
||||
if (line.toLowerCase().startsWith('control_profile')) {
|
||||
if (line.toLowerCase().startsWith('control_profile') ||
|
||||
line.toLowerCase().startsWith('battery_profile') ||
|
||||
line.toLowerCase().startsWith('mixer_profile')) {
|
||||
processingDelay = TABS.cli.profileSwitchDelayMs;
|
||||
}
|
||||
const isLastCommand = outputArray.length === index + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue