]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
fix 'stop_all_notes' naming to be more consistent
authorGabriel Young <gabeplaysdrums@live.com>
Thu, 2 Mar 2017 19:40:06 +0000 (11:40 -0800)
committerGabriel Young <gabeplaysdrums@live.com>
Thu, 2 Mar 2017 19:40:06 +0000 (11:40 -0800)
quantum/process_keycode/process_audio.c
quantum/process_keycode/process_audio.h
quantum/process_keycode/process_midi.c
quantum/process_keycode/process_midi.h
quantum/process_keycode/process_music.c
quantum/template/keymaps/default/Makefile

index 71c0297ee2e7082492f17d5b51f08888ee7f043d..0b6380ed39ab04cb1a2d4bc8cc985981e633e905 100644 (file)
@@ -54,7 +54,7 @@ void process_audio_noteoff(uint8_t note) {
     stop_note(compute_freq_for_midi_note(note));
 }
 
-void process_audio_stop_all_notes(void) {
+void process_audio_all_notes_off(void) {
     stop_all_notes();
 }
 
index 59a17725a796d9761827bb3bd485c4e219a6b772..7ac15b7330a7dadc7d849968585684a3848d4cef 100644 (file)
@@ -4,7 +4,7 @@
 bool process_audio(uint16_t keycode, keyrecord_t *record);
 void process_audio_noteon(uint8_t note);
 void process_audio_noteoff(uint8_t note);
-void process_audio_stop_all_notes(void);
+void process_audio_all_notes_off(void);
 
 void audio_on_user(void);
 
index 214bba90203f732e7d23688e04dd96d46e674093..700c6ce8e68693954828aa712f1057dc404b4f91 100644 (file)
@@ -15,7 +15,7 @@ void process_midi_basic_noteoff(uint8_t note)
     midi_send_noteoff(&midi_device, 0, note, 0);
 }
 
-void process_midi_basic_stop_all_notes(void)
+void process_midi_all_notes_off(void)
 {
     midi_send_cc(&midi_device, 0, 0x7B, 0);
 }
index 0f559ec23a556805b52979249c0b5354509ec557..58b7650c67d728d4b0f1c5fcdc1bc387a7c0fe33 100644 (file)
@@ -8,7 +8,7 @@
 #ifdef MIDI_BASIC
 void process_midi_basic_noteon(uint8_t note);
 void process_midi_basic_noteoff(uint8_t note);
-void process_midi_basic_stop_all_notes(void);
+void process_midi_all_notes_off(void);
 #endif
 
 #ifdef MIDI_ADVANCED
index 4b86b91f00556b0a2f02af0b0384cce7feeb3514..f89a04ee31f9254f7b128797f0ac489836a933e1 100644 (file)
@@ -44,10 +44,10 @@ static void music_noteoff(uint8_t note) {
 
 void music_all_notes_off(void) {
     #ifdef AUDIO_ENABLE
-    process_audio_stop_all_notes();
+    process_audio_all_notes_off();
     #endif
     #if defined(MIDI_ENABLE) && defined(MIDI_BASIC)
-    process_midi_basic_stop_all_notes();
+    process_midi_all_notes_off();
     #endif
 }
 
index 24442db37deac79c4306c702aa644d0730a0c1b2..29f11bbc77e58bd7769d9b705f3a9fecdc7dc91e 100644 (file)
@@ -9,7 +9,7 @@ CONSOLE_ENABLE = no         # Console for debug(+400)
 COMMAND_ENABLE = yes        # Commands for debug and configuration
 NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
-MIDI_ENABLE = no            # MIDI support (+3800)
+MIDI_ENABLE = no            # MIDI support (+2400 to 4200, depending on config)
 AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID