summaryrefslogtreecommitdiffstats
path: root/quantum/keymap_midi.h
diff options
context:
space:
mode:
authorRoman Zolotarev <hi@romanzolotarev.com>2016-04-26 10:23:10 +0200
committerRoman Zolotarev <hi@romanzolotarev.com>2016-04-26 10:23:10 +0200
commit28f0b64e31b8c30a842dfd356421356cf0513177 (patch)
treee5a76f4a2fb747c3599de1e297f46e4dc6fd4f0e /quantum/keymap_midi.h
parentfa2eedb7bd906634b8c500ba0d91638e63eaafed (diff)
parentbf56838fe99aafd37559d560e47b707a83c87588 (diff)
downloadqmk_firmware-28f0b64e31b8c30a842dfd356421356cf0513177.tar.gz
qmk_firmware-28f0b64e31b8c30a842dfd356421356cf0513177.tar.xz
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 a89420ce2..795f26380 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))