aboutsummaryrefslogtreecommitdiff
path: root/keyboard/planck
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-16 23:07:50 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-16 23:07:50 -0400
commit8bbd064cf52a76508589579f19595607a1f3af21 (patch)
treecb11676373bc7adafa99a16a2239250fcde5ced0 /keyboard/planck
parent41cc35425ab32c9a9492006da8b667d01d32dfa6 (diff)
downloadqmk_firmware-8bbd064cf52a76508589579f19595607a1f3af21.tar.gz
qmk_firmware-8bbd064cf52a76508589579f19595607a1f3af21.zip
changes to play_notes, goodbye
Diffstat (limited to 'keyboard/planck')
-rw-r--r--keyboard/planck/keymaps/default/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboard/planck/keymaps/default/keymap.c b/keyboard/planck/keymaps/default/keymap.c
index a6edefefd..5591b337d 100644
--- a/keyboard/planck/keymaps/default/keymap.c
+++ b/keyboard/planck/keymaps/default/keymap.c
@@ -194,7 +194,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
194 case _QW: 194 case _QW:
195 if (record->event.pressed) { 195 if (record->event.pressed) {
196 #ifdef AUDIO_ENABLE 196 #ifdef AUDIO_ENABLE
197 play_notes(&tone_qw, 4, false, 0); 197 play_notes(&tone_qw, false, 0);
198 #endif 198 #endif
199 default_layer_set(1UL<<_QW); 199 default_layer_set(1UL<<_QW);
200 } 200 }
@@ -202,7 +202,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
202 case _CM: 202 case _CM:
203 if (record->event.pressed) { 203 if (record->event.pressed) {
204 #ifdef AUDIO_ENABLE 204 #ifdef AUDIO_ENABLE
205 play_notes(&tone_cm, 6, false, 0); 205 play_notes(&tone_cm, false, 0);
206 #endif 206 #endif
207 default_layer_set(1UL<<_CM); 207 default_layer_set(1UL<<_CM);
208 } 208 }
@@ -210,7 +210,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
210 case _DV: 210 case _DV:
211 if (record->event.pressed) { 211 if (record->event.pressed) {
212 #ifdef AUDIO_ENABLE 212 #ifdef AUDIO_ENABLE
213 play_notes(&tone_dv, 8, false, 0); 213 play_notes(&tone_dv, false, 0);
214 #endif 214 #endif
215 default_layer_set(1UL<<_DV); 215 default_layer_set(1UL<<_DV);
216 } 216 }
@@ -254,7 +254,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
254 if (record->event.pressed) { 254 if (record->event.pressed) {
255 #ifdef AUDIO_ENABLE 255 #ifdef AUDIO_ENABLE
256 audio_on(); 256 audio_on();
257 play_notes(&start_up, 5, false, 0); 257 play_notes(&start_up, false, 0);
258 #endif 258 #endif
259 } 259 }
260 break; 260 break;
@@ -265,6 +265,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
265void matrix_init_user(void) { 265void matrix_init_user(void) {
266 #ifdef AUDIO_ENABLE 266 #ifdef AUDIO_ENABLE
267 init_notes(); 267 init_notes();
268 play_notes(&start_up, 5, false, 0); 268 play_notes(&start_up, false, 0);
269 #endif 269 #endif
270} 270}