summaryrefslogtreecommitdiffstats
path: root/quantum/keymap_midi.h
diff options
context:
space:
mode:
authorStephan Bösebeck <sb@caluga.de>2016-04-14 21:47:33 +0200
committerStephan Bösebeck <sb@caluga.de>2016-04-14 21:47:33 +0200
commit990254edecab782d6f2e71ebfc0b0dda4dc0781e (patch)
tree5b8f107ef8212a858d3137c3304da743813b1a09 /quantum/keymap_midi.h
parenta71ab3ebb6ef3390a9eb20ba7d0a8a3c7ab6a18f (diff)
parentbdb6dceaebc358dd4aae593d51d3ba0dd61858a9 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/keymap_midi.h')
-rw-r--r--quantum/keymap_midi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keymap_midi.h b/quantum/keymap_midi.h
index a89420ce2a..795f26380e 100644
--- a/quantum/keymap_midi.h
+++ b/quantum/keymap_midi.h
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <lufa.h>
-#define MIDI 0x6000
+#define MIDI(n) ((n) | 0x6000)
#define MIDI12 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000, 0x6000
#define CHNL(note, channel) (note + (channel << 8))