mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 11:29:26 +00:00
Move SENDSTRING_BELL
code to send_string.h
(#13566)
This commit is contained in:
parent
4bef126293
commit
332a5aa7cb
@ -49,9 +49,6 @@ float goodbye_song[][2] = GOODBYE_SONG;
|
||||
# ifdef DEFAULT_LAYER_SONGS
|
||||
float default_layer_songs[][16][2] = DEFAULT_LAYER_SONGS;
|
||||
# endif
|
||||
# ifdef SENDSTRING_BELL
|
||||
float bell_song[][2] = SONG(TERMINAL_SOUND);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef AUTO_SHIFT_ENABLE
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user