aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/originerd/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/originerd/keymap.c')
-rw-r--r--keyboards/planck/keymaps/originerd/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/keymaps/originerd/keymap.c b/keyboards/planck/keymaps/originerd/keymap.c
index fb919835b..2cecf0105 100644
--- a/keyboards/planck/keymaps/originerd/keymap.c
+++ b/keyboards/planck/keymaps/originerd/keymap.c
@@ -131,7 +131,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
131 case NERD: 131 case NERD:
132 if (record->event.pressed) { 132 if (record->event.pressed) {
133 #ifdef AUDIO_ENABLE 133 #ifdef AUDIO_ENABLE
134 PLAY_NOTE_ARRAY(tone_nerd, false, 0); 134 PLAY_SONG(tone_nerd);
135 #endif 135 #endif
136 persistent_default_layer_set(1UL<<_NERD); 136 persistent_default_layer_set(1UL<<_NERD);
137 } 137 }
@@ -172,12 +172,12 @@ void matrix_init_user(void) {
172void startup_user() 172void startup_user()
173{ 173{
174 _delay_ms(20); // gets rid of tick 174 _delay_ms(20); // gets rid of tick
175 PLAY_NOTE_ARRAY(tone_startup, false, 0); 175 PLAY_SONG(tone_startup);
176} 176}
177 177
178void shutdown_user() 178void shutdown_user()
179{ 179{
180 PLAY_NOTE_ARRAY(tone_goodbye, false, 0); 180 PLAY_SONG(tone_goodbye);
181 _delay_ms(150); 181 _delay_ms(150);
182 stop_all_notes(); 182 stop_all_notes();
183} 183}
@@ -189,7 +189,7 @@ void music_on_user(void)
189 189
190void music_scale_user(void) 190void music_scale_user(void)
191{ 191{
192 PLAY_NOTE_ARRAY(music_scale, false, 0); 192 PLAY_SONG(music_scale);
193} 193}
194 194
195#endif 195#endif