aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/quantum.c3
-rw-r--r--quantum/send_string.c8
2 files changed, 8 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 9cfffd931..56ceec5db 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -49,9 +49,6 @@ float goodbye_song[][2] = GOODBYE_SONG;
49# ifdef DEFAULT_LAYER_SONGS 49# ifdef DEFAULT_LAYER_SONGS
50float default_layer_songs[][16][2] = DEFAULT_LAYER_SONGS; 50float default_layer_songs[][16][2] = DEFAULT_LAYER_SONGS;
51# endif 51# endif
52# ifdef SENDSTRING_BELL
53float bell_song[][2] = SONG(TERMINAL_SOUND);
54# endif
55#endif 52#endif
56 53
57#ifdef AUTO_SHIFT_ENABLE 54#ifdef AUTO_SHIFT_ENABLE
diff --git a/quantum/send_string.c b/quantum/send_string.c
index 7d096b427..1a7f7a131 100644
--- a/quantum/send_string.c
+++ b/quantum/send_string.c
@@ -20,6 +20,14 @@
20 20
21#include "send_string.h" 21#include "send_string.h"
22 22
23#if defined(AUDIO_ENABLE) && defined(SENDSTRING_BELL)
24# include "audio.h"
25# ifndef BELL_SOUND
26# define BELL_SOUND TERMINAL_SOUND
27# endif
28float bell_song[][2] = SONG(BELL_SOUND);
29#endif
30
23// clang-format off 31// clang-format off
24 32
25/* Bit-Packed look-up table to convert an ASCII character to whether 33/* Bit-Packed look-up table to convert an ASCII character to whether