diff options
author | IBNobody <ibnobody@gmail.com> | 2016-04-13 22:04:44 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-04-13 22:04:44 -0500 |
commit | 2900b4884598b06ed59371c48ecea9d3f0bff5ac (patch) | |
tree | e5a4513740d4629203d3a663f1c39895cc842267 /quantum | |
parent | 95a44cdf01a98180363e8039d769fa7be92b0194 (diff) | |
download | firmware-2900b4884598b06ed59371c48ecea9d3f0bff5ac.tar.gz firmware-2900b4884598b06ed59371c48ecea9d3f0bff5ac.tar.bz2 firmware-2900b4884598b06ed59371c48ecea9d3f0bff5ac.zip |
Added parenthesis to midi macro.
Diffstat (limited to 'quantum')
-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 436fb2eb5..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(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)) |