summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorIBNobody <IBNobody@users.noreply.github.com>2016-04-13 22:08:00 -0500
committerIBNobody <IBNobody@users.noreply.github.com>2016-04-13 22:08:00 -0500
commit7ff57503c61d72be62bb737af5f0efc5ad74b82a (patch)
treee5a4513740d4629203d3a663f1c39895cc842267 /quantum
parente0ddbba1ef273af2b62d4c79c2cba74169d6f1e5 (diff)
parent2900b4884598b06ed59371c48ecea9d3f0bff5ac (diff)
Merge pull request #1 from IBNobody/pc_planck
Corrected minor spacing issues
Diffstat (limited to 'quantum')
-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 436fb2eb50..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(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))