summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/pot.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-22 17:37:52 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-22 17:37:52 +0000
commitac1b2a664711ce6e66c1bd37565c8066103a722a (patch)
treee8335287eeb2f4abcc860255a2dcf937a297f0c2 /libs/surfaces/mackie/pot.cc
parent4901f9d1d20ea5878b34db025a3dc305d3a78c2e (diff)
MCP: another bevy of changes, including working jog wheel
git-svn-id: svn://localhost/ardour2/branches/3.0@12056 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/pot.cc')
-rw-r--r--libs/surfaces/mackie/pot.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/pot.cc b/libs/surfaces/mackie/pot.cc
index ceec0ea940..78973b40df 100644
--- a/libs/surfaces/mackie/pot.cc
+++ b/libs/surfaces/mackie/pot.cc
@@ -46,7 +46,7 @@ Pot::set (float val, bool onoff, Mode mode)
MIDI::byte msg = (val > 0.45 && val < 0.55 ? 1 : 0) << 6;
// mode
- msg |= (onoff << 4);
+ msg |= (mode << 4);
// val, but only if off hasn't explicitly been set