mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Added parenthesis to midi macro.
This commit is contained in:
parent
95a44cdf01
commit
2900b48845
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue