Skip to content

Commit

Permalink
Merge pull request #2247 from iNavFlight/MrD_Update-missing-parameter…
Browse files Browse the repository at this point in the history
…-after-profile-name-change

Update name change from `profile` to `control_profile`
  • Loading branch information
mmosca authored Nov 16, 2024
2 parents 3cfbcb6 + 0297373 commit 4d3b90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabs/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ TABS.cli.initialize = function (callback) {
new Promise((resolve) => {
timeout.add('CLI_send_slowly', () => {
let processingDelay = TABS.cli.lineDelayMs;
if (line.toLowerCase().startsWith('profile')) {
if (line.toLowerCase().includes('_profile')) {
processingDelay = TABS.cli.profileSwitchDelayMs;
}
const isLastCommand = outputArray.length === index + 1;
Expand Down

0 comments on commit 4d3b90e

Please sign in to comment.