fix 'stop_all_notes' naming to be more consistent

pull/1112/head
Gabriel Young 7 years ago
parent 976c856966
commit d11962aeb2

@ -54,7 +54,7 @@ void process_audio_noteoff(uint8_t note) {
stop_note(compute_freq_for_midi_note(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(); stop_all_notes();
} }

@ -4,7 +4,7 @@
bool process_audio(uint16_t keycode, keyrecord_t *record); bool process_audio(uint16_t keycode, keyrecord_t *record);
void process_audio_noteon(uint8_t note); void process_audio_noteon(uint8_t note);
void process_audio_noteoff(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); void audio_on_user(void);

@ -15,7 +15,7 @@ void process_midi_basic_noteoff(uint8_t note)
midi_send_noteoff(&midi_device, 0, note, 0); 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); midi_send_cc(&midi_device, 0, 0x7B, 0);
} }

@ -8,7 +8,7 @@
#ifdef MIDI_BASIC #ifdef MIDI_BASIC
void process_midi_basic_noteon(uint8_t note); void process_midi_basic_noteon(uint8_t note);
void process_midi_basic_noteoff(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 #endif
#ifdef MIDI_ADVANCED #ifdef MIDI_ADVANCED

@ -44,10 +44,10 @@ static void music_noteoff(uint8_t note) {
void music_all_notes_off(void) { void music_all_notes_off(void) {
#ifdef AUDIO_ENABLE #ifdef AUDIO_ENABLE
process_audio_stop_all_notes(); process_audio_all_notes_off();
#endif #endif
#if defined(MIDI_ENABLE) && defined(MIDI_BASIC) #if defined(MIDI_ENABLE) && defined(MIDI_BASIC)
process_midi_basic_stop_all_notes(); process_midi_all_notes_off();
#endif #endif
} }

@ -9,7 +9,7 @@ CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration 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 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 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 AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID

Loading…
Cancel
Save