summaryrefslogtreecommitdiff
path: root/quantum/keymap_midi.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-13 23:31:35 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-13 23:31:35 -0400
commitbdb6dceaebc358dd4aae593d51d3ba0dd61858a9 (patch)
treee5a4513740d4629203d3a663f1c39895cc842267 /quantum/keymap_midi.h
parent200d5f506884ac2dda0bec2c0284f93a75ecad00 (diff)
parent7ff57503c61d72be62bb737af5f0efc5ad74b82a (diff)
Merge pull request #254 from IBNobody/master
Atomic TLC / Compiler Warning Fixes
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))