diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-13 23:31:35 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-13 23:31:35 -0400 |
commit | bdb6dceaebc358dd4aae593d51d3ba0dd61858a9 (patch) | |
tree | e5a4513740d4629203d3a663f1c39895cc842267 /quantum/keymap_midi.h | |
parent | 200d5f506884ac2dda0bec2c0284f93a75ecad00 (diff) | |
parent | 7ff57503c61d72be62bb737af5f0efc5ad74b82a (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.h | 2 |
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)) |