diff options
| author | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 20:41:13 -0800 |
|---|---|---|
| committer | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 20:41:13 -0800 |
| commit | a64ae1066250d3aafb6e9670bf617237ec4338e7 (patch) | |
| tree | 9d91360888e2f14c7d7fe84d0a821c629a7340d3 /quantum/process_keycode/process_audio.c | |
| parent | ea14ed122fb5c1b3be5f5d6edda9b39b151692e5 (diff) | |
| download | qmk_firmware-a64ae1066250d3aafb6e9670bf617237ec4338e7.tar.gz qmk_firmware-a64ae1066250d3aafb6e9670bf617237ec4338e7.zip | |
Update existing keymaps
Update existing keymaps to enable MIDI_BASIC functionality. Also added
an option MIDI_ENABLE_STRICT to be strict about keycode use (which also
reduces memory footprint at runtime)
Diffstat (limited to 'quantum/process_keycode/process_audio.c')
| -rw-r--r-- | quantum/process_keycode/process_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_audio.c b/quantum/process_keycode/process_audio.c index d45242c9e..71c0297ee 100644 --- a/quantum/process_keycode/process_audio.c +++ b/quantum/process_keycode/process_audio.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #include "process_audio.h" | ||
| 2 | #include "audio.h" | 1 | #include "audio.h" |
| 2 | #include "process_audio.h" | ||
| 3 | 3 | ||
| 4 | static float compute_freq_for_midi_note(uint8_t note) | 4 | static float compute_freq_for_midi_note(uint8_t note) |
| 5 | { | 5 | { |
| @@ -43,7 +43,7 @@ bool process_audio(uint16_t keycode, keyrecord_t *record) { | |||
| 43 | return false; | 43 | return false; |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | return true | 46 | return true; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | void process_audio_noteon(uint8_t note) { | 49 | void process_audio_noteon(uint8_t note) { |
