diff options
| author | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 15:02:43 -0800 |
|---|---|---|
| committer | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 15:02:43 -0800 |
| commit | 525be99ee938aa6e48448d7dd6ea6e6fe50bb36d (patch) | |
| tree | 8842033e455e5a2546894d03b701ae8fe2f565a7 /quantum/quantum.c | |
| parent | 64eecfc5303788bd82bf2fb466ec4a6f1bd0c028 (diff) | |
| download | qmk_firmware-525be99ee938aa6e48448d7dd6ea6e6fe50bb36d.tar.gz qmk_firmware-525be99ee938aa6e48448d7dd6ea6e6fe50bb36d.zip | |
Split MIDI functionality into MIDI_BASIC and MIDI_ADVANCED
MIDI_ENABLE = no
text data bss dec hex filename
0 17080 0 17080 42b8 satan_midi.hex
MIDI_ENABLE = yes
MIDI_BASIC undefined
MIDI_ADVANCED undefined
text data bss dec hex filename
0 19494 0 19494 4c26 satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_BASIC
MIDI_ADVANCED undefined
text data bss dec hex filename
0 19788 0 19788 4d4c satan_midi.hex
MIDI_ENABLE = yes
MIDI_BASIC undefined
#define MIDI_ADVANCED
text data bss dec hex filename
0 20846 0 20846 516e satan_midi.hex
MIDI_ENABLE = yes
#define MIDI_BASIC
#define MIDI_ADVANCED
text data bss dec hex filename
0 21140 0 21140 5294 satan_midi.hex
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 4a6d0355f..83fa87708 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -150,10 +150,10 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 150 | 150 | ||
| 151 | if (!( | 151 | if (!( |
| 152 | process_record_kb(keycode, record) && | 152 | process_record_kb(keycode, record) && |
| 153 | #ifdef MIDI_ENABLE | 153 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) |
| 154 | process_midi(keycode, record) && | 154 | process_midi(keycode, record) && |
| 155 | #endif | 155 | #endif |
| 156 | #ifdef AUDIO_ENABLE | 156 | #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) |
| 157 | process_music(keycode, record) && | 157 | process_music(keycode, record) && |
| 158 | #endif | 158 | #endif |
| 159 | #ifdef TAP_DANCE_ENABLE | 159 | #ifdef TAP_DANCE_ENABLE |
