~ruther/qmk_firmware

2900b4884598b06ed59371c48ecea9d3f0bff5ac — IBNobody 9 years ago 95a44cd
Added parenthesis to midi macro.
1 files changed, 1 insertions(+), 1 deletions(-)

M quantum/keymap_midi.h
M quantum/keymap_midi.h => quantum/keymap_midi.h +1 -1
@@ 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))