diff --git a/tabs/cli.js b/tabs/cli.js index d5fab1f2a..4bdf95e6c 100644 --- a/tabs/cli.js +++ b/tabs/cli.js @@ -122,9 +122,7 @@ TABS.cli.initialize = function (callback) { new Promise((resolve) => { timeout.add('CLI_send_slowly', () => { let processingDelay = TABS.cli.lineDelayMs; - if (line.toLowerCase().startsWith('control_profile') || - line.toLowerCase().startsWith('battery_profile') || - line.toLowerCase().startsWith('mixer_profile')) { + if (line.toLowerCase().includes('_profile')) { processingDelay = TABS.cli.profileSwitchDelayMs; } const isLastCommand = outputArray.length === index + 1;