diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/surfaces/mackie/pot.cc | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/surfaces/mackie/pot.cc')
-rw-r--r-- | libs/surfaces/mackie/pot.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/mackie/pot.cc b/libs/surfaces/mackie/pot.cc index e1ddae82f8..3ac991116f 100644 --- a/libs/surfaces/mackie/pot.cc +++ b/libs/surfaces/mackie/pot.cc @@ -45,7 +45,7 @@ Pot::set (float val, bool onoff, Mode mode) // center on if val is "very close" to 0.50 MIDI::byte msg = (val > 0.48 && val < 0.58 ? 1 : 0) << 6; - + // Pot/LED mode msg |= (mode << 4); @@ -57,7 +57,7 @@ Pot::set (float val, bool onoff, Mode mode) if (val < 0){ val = val * -1; } - + // val, but only if off hasn't explicitly been set if (onoff) { if (mode == spread) { @@ -73,4 +73,4 @@ Pot::set (float val, bool onoff, Mode mode) return MidiByteArray (3, 0xb0, 0x20 + id(), msg); } - + |