aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/modding_your_keyboard.md3
-rw-r--r--quantum/quantum.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/modding_your_keyboard.md b/docs/modding_your_keyboard.md
index 44e6e6e72..30ff4f91a 100644
--- a/docs/modding_your_keyboard.md
+++ b/docs/modding_your_keyboard.md
@@ -41,7 +41,8 @@ Wherein we bind predefined songs (from [quantum/audio/song_list.h](https://githu
41So now you have something called `tone_plover` for example. How do you make it play the Plover tune, then? If you look further down the keymap, you'll see this: 41So now you have something called `tone_plover` for example. How do you make it play the Plover tune, then? If you look further down the keymap, you'll see this:
42 42
43``` 43```
44PLAY_NOTE_ARRAY(tone_plover, false, 0); // Signature is: Song name, repeat, rest style 44PLAY_NOTE_ARRAY(tone_plover, false, LEGATO); // song name, repeat, rest style
45PLAY_SONG(tone_plover); // song name (repeat is false, rest is STACCATO)
45``` 46```
46 47
47This is inside one of the macros. So when that macro executes, your keyboard plays that particular chime. 48This is inside one of the macros. So when that macro executes, your keyboard plays that particular chime.
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 31a6fc713..b76a11418 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -41,10 +41,7 @@ extern backlight_config_t backlight_config;
41 #define AG_SWAP_SONG SONG(AG_SWAP_SOUND) 41 #define AG_SWAP_SONG SONG(AG_SWAP_SOUND)
42 #endif 42 #endif
43 #ifndef DEFAULT_LAYER_SONGS 43 #ifndef DEFAULT_LAYER_SONGS
44 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ 44 #define DEFAULT_LAYER_SONGS { }
45 SONG(COLEMAK_SOUND) \
46 SONG(DVORAK_SOUND) \
47 }
48 #endif 45 #endif
49 float goodbye_song[][2] = GOODBYE_SONG; 46 float goodbye_song[][2] = GOODBYE_SONG;
50 float ag_norm_song[][2] = AG_NORM_SONG; 47 float ag_norm_song[][2] = AG_NORM_SONG;