From 332a5aa7cb6dfa12ff9586ed43a5b50d9a5197a0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 17 Jul 2021 02:40:20 +1000 Subject: Move `SENDSTRING_BELL` code to `send_string.h` (#13566) --- quantum/send_string.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'quantum/send_string.c') diff --git a/quantum/send_string.c b/quantum/send_string.c index 7d096b4273..1a7f7a1315 100644 --- a/quantum/send_string.c +++ b/quantum/send_string.c @@ -20,6 +20,14 @@ #include "send_string.h" +#if defined(AUDIO_ENABLE) && defined(SENDSTRING_BELL) +# include "audio.h" +# ifndef BELL_SOUND +# define BELL_SOUND TERMINAL_SOUND +# endif +float bell_song[][2] = SONG(BELL_SOUND); +#endif + // clang-format off /* Bit-Packed look-up table to convert an ASCII character to whether -- cgit v1.2.3