diff options
author | Ryan <fauxpark@gmail.com> | 2021-07-17 02:40:20 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 09:40:20 -0700 |
commit | 332a5aa7cb6dfa12ff9586ed43a5b50d9a5197a0 (patch) | |
tree | fb941df3c676bae4efc797685f6fced7dcbf1338 /quantum/send_string.c | |
parent | 4bef126293b8f350ae0920d465c32680566d5f9d (diff) | |
download | qmk_firmware-332a5aa7cb6dfa12ff9586ed43a5b50d9a5197a0.tar.gz qmk_firmware-332a5aa7cb6dfa12ff9586ed43a5b50d9a5197a0.zip |
Move `SENDSTRING_BELL` code to `send_string.h` (#13566)
Diffstat (limited to 'quantum/send_string.c')
-rw-r--r-- | quantum/send_string.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 | ||
28 | float 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 |