Skip to content

Commit

Permalink
fix 'stop_all_notes' naming to be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Young committed Mar 2, 2017
1 parent 976c856 commit d11962a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_midi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions quantum/process_keycode/process_music.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion quantum/template/keymaps/default/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d11962a

Please sign in to comment.