diff options
Diffstat (limited to 'quantum/process_keycode/process_midi.h')
| -rw-r--r-- | quantum/process_keycode/process_midi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_midi.h b/quantum/process_keycode/process_midi.h index ccac8981a..1968fbe3f 100644 --- a/quantum/process_keycode/process_midi.h +++ b/quantum/process_keycode/process_midi.h | |||
| @@ -27,6 +27,8 @@ void process_midi_basic_noteoff(uint8_t note); | |||
| 27 | void process_midi_all_notes_off(void); | 27 | void process_midi_all_notes_off(void); |
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | void midi_task(void); | ||
| 31 | |||
| 30 | #ifdef MIDI_ADVANCED | 32 | #ifdef MIDI_ADVANCED |
| 31 | typedef union { | 33 | typedef union { |
| 32 | uint32_t raw; | 34 | uint32_t raw; |
| @@ -39,10 +41,9 @@ typedef union { | |||
| 39 | }; | 41 | }; |
| 40 | } midi_config_t; | 42 | } midi_config_t; |
| 41 | 43 | ||
| 42 | midi_config_t midi_config; | 44 | extern midi_config_t midi_config; |
| 43 | 45 | ||
| 44 | void midi_init(void); | 46 | void midi_init(void); |
| 45 | void midi_task(void); | ||
| 46 | bool process_midi(uint16_t keycode, keyrecord_t *record); | 47 | bool process_midi(uint16_t keycode, keyrecord_t *record); |
| 47 | 48 | ||
| 48 | #define MIDI_INVALID_NOTE 0xFF | 49 | #define MIDI_INVALID_NOTE 0xFF |
