projects
/
qmk_firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a44cd
)
Added parenthesis to midi macro.
author
IBNobody
<ibnobody@gmail.com>
Thu, 14 Apr 2016 03:04:44 +0000
(22:04 -0500)
committer
IBNobody
<ibnobody@gmail.com>
Thu, 14 Apr 2016 03:04:44 +0000
(22:04 -0500)
quantum/keymap_midi.h
patch
|
blob
|
history
diff --git
a/quantum/keymap_midi.h
b/quantum/keymap_midi.h
index 436fb2eb503903a7afec9c0733b19985dcd8d044..795f26380ed8fb5eb53ac5b2999e358769cb1f09 100644
(file)
--- 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(n) (
n
| 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))