]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/keymap_midi.h
adds delayed vibrato
[qmk_firmware.git] / quantum / keymap_midi.h
index 436fb2eb503903a7afec9c0733b19985dcd8d044..795f26380ed8fb5eb53ac5b2999e358769cb1f09 100644 (file)
@@ -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))