aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index c705b7a73..2001438b9 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -34,15 +34,13 @@ extern keymap_config_t keymap_config;
34#include <inttypes.h> 34#include <inttypes.h>
35#ifdef AUDIO_ENABLE 35#ifdef AUDIO_ENABLE
36 #include "audio.h" 36 #include "audio.h"
37
37 #ifndef TONE_GOODBYE 38 #ifndef TONE_GOODBYE
38 #define TONE_GOODBYE { \ 39 #define TONE_GOODBYE OLKB_GOODBYE
39 {440.0*pow(2.0,(31)/12.0), 8}, \ 40 #endif /*! TONE_GOODBYE */
40 {440.0*pow(2.0,(24)/12.0), 8}, \ 41
41 {440.0*pow(2.0,(19)/12.0), 12}, \ 42 float tone_goodbye[][2] = SONG(TONE_GOODBYE);
42 } 43#endif /* AUDIO_ENABLE */
43 #endif
44 float tone_goodbye[][2] = TONE_GOODBYE;
45#endif
46 44
47static action_t keycode_to_action(uint16_t keycode); 45static action_t keycode_to_action(uint16_t keycode);
48 46