Skip to content

Commit

Permalink
Merge pull request #61 from istnv/bug/auxusb-fader
Browse files Browse the repository at this point in the history
Add missing 'usb/aux' fader commands
  • Loading branch information
istnv authored Mar 13, 2023
2 parents 0eaa91b + 3febf37 commit 1783869
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions buildStripDefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export function buildStripDefs(self) {
}
} else {
// Main LR, Aux/USB
const strip = '/lr/mix/fader'
const strip = fadeID = 'mFad' ? '/lr/mix/fader' : '/rtn/aux/mix/fader'
fadeActions[fadeID] = {
name: theStrip.description + ' Fader Set',
options: [],
Expand All @@ -500,7 +500,7 @@ export function buildStripDefs(self) {
options: [],
callback: async (action, context) => {
const opt = action.options
fadeTo(action.actionId, '/lr/mix/fader', opt, self)
fadeTo(action.actionId, strip, opt, self)
// internal only, fadeTo handles the 'store'
},
}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class BAirInstance extends InstanceBase {
this.unitsFound = {}
if (config.scan) {
// quick moment to pre-scan
await this.scanForMixers()
this.scanForMixers()
}
buildStripDefs(this)
buildSoloDefs(this)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "behringer-xair",
"version": "2.0.1",
"version": "2.0.2",
"type": "module",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1783869

Please sign in to comment.